Module: Objectify::Rails::LegacyControllerBehaviour

Includes:
Instrumentation, ControllerHelpers
Defined in:
lib/objectify/rails/controller.rb

Class Method Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object



89
90
91
92
93
# File 'lib/objectify/rails/controller.rb', line 89

def method_missing(name, *args, &block)
  instrument("start_processing.objectify", :route => objectify_route)

  execute_objectify_action
end

Class Method Details

.included(klass) ⇒ Object



85
86
87
# File 'lib/objectify/rails/controller.rb', line 85

def self.included(klass)
  klass.helper_method(:objectify_executor) if klass.respond_to?(:helper_method)
end