Flowdock
method

permitted?

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Parameters
permitted?() public

Returns true if the parameter is permitted, false otherwise.

params = ActionController::Parameters.new
params.permitted? # => false
params.permit!
params.permitted? # => true
Show source
Register or log in to add new notes.