Module Merb::ParamsFilter::ControllerMixin
In: merb-param-protection/lib/merb-param-protection.rb

Methods

included  

Classes and Modules

Module Merb::ParamsFilter::ControllerMixin::ClassMethods
Module Merb::ParamsFilter::ControllerMixin::InstanceMethods

Public Class methods

[Source]

    # File merb-param-protection/lib/merb-param-protection.rb, line 37
37:         def self.included(base)
38:           base.send(:extend, ClassMethods)
39:           base.send(:include, InstanceMethods)
40:           base.send(:class_inheritable_accessor, :accessible_params_args)
41:           base.send(:class_inheritable_accessor, :protected_params_args)
42:           base.send(:class_inheritable_accessor, :log_params_args)
43:           # Don't expose these as public methods - otherwise they'll become controller actions
44:           base.send(:protected, :accessible_params_args, :protected_params_args, :log_params_args)
45:           base.send(:protected, :accessible_params_args=, :protected_params_args=, :log_params_args=)
46: 
47:           base.send(:before, :initialize_params_filter)
48:         end

[Validate]