If you use ActiveRecord::Base.transaction syntax, you shoud surround it begin rescue clauses Nov 8 rails, rspec