in a controller i can use request and params methods.
i know each controller is inheriting from ActionController::Base.
however, i cannot find these 2 methods in the api documentation for ActionController::Base http://api.rubyonrails.org
where are these methods defined? it would be great to know ALL methods that i can use in a controller.
thanks
request and params in ActionController:Base are shortcuts to the ActionController::Request object and its parameters method. It isn’t well-documented, but you can see that by looking at the code for ActionController::Base.
Knowing that, you can find the documentation for these methods here:
http://api.rubyonrails.org/classes/ActionController/Request.html