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

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

### Methods

log_params_filtered params_accessible params_protected

### Public Instance methods

log_params_filtered(*args)

Filters parameters out from the default log string

     Params will still be passed to the controller properly, they will
     show up as [FILTERED] in the merb logs.

log_params_filtered :password, ‘token‘

params_accessible(args = {})

Ensures these parameters are sent for the object

      params_accessible :post => [:title, :body]

params_protected(args = {})

Protects parameters of an object

      params_protected :post => [:status, :author_id]

[Validate]