Skip to content

Commit

Permalink
Readme note about #transition_to error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
appleton committed May 19, 2014
1 parent 5cadb00 commit ae8ed2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ Transition to the passed state, returning `true` on success. Raises

#### `Machine#transition_to(:state)`
Transition to the passed state, returning `true` on success. Swallows all
exceptions and returns false on failure.
Statesman exceptions and returns false on failure. (NB. if your guard or
callback code throws an exception, it will not be caught.)

## Model scopes

Expand Down

0 comments on commit ae8ed2a

Please sign in to comment.