module AASM::Persistence::ORM

def requires_new?(state_machine_name)

def requires_new?(state_machine_name)
  AASM::StateMachineStore.fetch(self.class, true).machine(state_machine_name).config.requires_new_transaction
end