class AASM::Core::Event
def fire_callbacks(callback_name, record, *args)
def fire_callbacks(callback_name, record, *args) # strip out the first element in args if it's a valid to_state # #given where we're coming from, this condition implies args not empty invoke_callbacks(@options[callback_name], record, args) end