From ae8ed2aaea1ddc14a052f881d9df170956345d41 Mon Sep 17 00:00:00 2001 From: Andrew Appleton Date: Mon, 19 May 2014 14:35:20 +0100 Subject: [PATCH] Readme note about #transition_to error handling --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 219a0e98..d4775eca 100644 --- a/README.md +++ b/README.md @@ -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