lib/lite/form/helpers/errors.rb in lite-form-1.0.4 vs lib/lite/form/helpers/errors.rb in lite-form-1.0.5

- old
+ new

@@ -48,9 +48,14 @@ def success? errors.empty? end + def raise_transaction_rollback(exception) + run_callbacks(:rollback) + raise exception + end + end end end end