Module: Objectify::Rails::ControllerBehaviour
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
104
105
106
107
108
109
110
|
# File 'lib/objectify/rails/controller.rb', line 104
def method_missing(name, *args, &block)
instrument("start_processing.objectify", :route => objectify_route)
if execute_policy_chain
execute_objectify_action
end
end
|
Class Method Details
.included(klass) ⇒ Object
100
101
102
|
# File 'lib/objectify/rails/controller.rb', line 100
def self.included(klass)
klass.helper_method(:objectify_executor) if klass.respond_to?(:helper_method)
end
|