# File lib/state_machine/transition.rb, line 201 def perform(*args) run_action = [true, false].include?(args.last) ? args.pop : true self.args = args # Run the transition self.class.perform_within_transaction([self], :action => run_action) end