collectiveidea / interactor

Interactor provides a common interface for performing complex user interactions.
MIT License
3.36k stars 212 forks source link

#fail! returns truthy value #58

Closed brett-richardson closed 10 years ago

brett-richardson commented 10 years ago

Perhaps the #fail! method should return false or nil, not true.

ersatzryan commented 10 years ago

In the upcoming version there will be a lot of changes. fail! will be on the context which will raise an error and will no longer exist on the interactor itself

laserlemon commented 10 years ago

The v3 branch is now the target of development and the fail! method will now immediately halt execution, so the return value will not matter.