# File lib/state_machine/integrations/active_model.rb, line 366
        def define_action_helpers(*args)
          super
          
          action = self.action
          @instance_helper_module.class_eval do
            define_method(:valid?) do |*args|
              self.class.state_machines.transitions(self, action, :after => false).perform { super(*args) }
            end
          end if runs_validations_on_action?
        end