[](key)
Instance Public methods
Returns a parameter for the given key
. If not found, returns
nil
.
1 2 3 | params = ActionController::Parameters. new (person: { name: 'Francesco' }) params[ :person ] # => {"name"=>"Francesco"} params[ :none ] # => nil |
Please login to continue.