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

Methods

Public Instance methods

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‘

Ensures these parameters are sent for the object

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

Protects parameters of an object

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

[Validate]