public Method

AbstractRequest.parameters

Returns both GET and POST parameters in a single hash.

Source Code

# File action_controller/request.rb, line 288
def parameters
  @parameters ||= request_parameters.merge(query_parameters).update(path_parameters).with_indifferent_access
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.