Method: Rack::Request::Helpers#params
- Defined in:
- lib/rack/request.rb
permalink #params ⇒ Object
The union of GET and POST data.
Note that modifications will not be persisted in the env. Use update_param or delete_param if you want to destructively modify params.
556 557 558 |
# File 'lib/rack/request.rb', line 556 def params self.GET.merge(self.POST) end |