# File lib/state_machine/integrations/data_mapper.rb, line 373 def transaction(object) object.class.transaction {|t| t.rollback unless yield} end