Module: Merb::ParamsFilter::RequestMixin

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

### Methods

remove_params_from_object restrict_params

### Attributes

trashed_params | [RW] |

### Public Instance methods

remove_params_from_object(obj, attrs = [])

Removes specified parameters of an object

      remove_params_from_object(:post, [:status, :author_id])

restrict_params(obj, attrs = [])

Restricts parameters of an object

      restrict_params(:post, [:title, :body])

[Validate]