On Jun 21, 8:04 pm, Xiahong Gao gaox...@gmail.com wrote:
I am newb. I feel confused about how params works.
I understand @params is an attribute of CLASS, but what is params? A
named parameter? Because I thought instance attributes always begin
with @”, so params/request/flash/etc looks
flash is the instance method of class ActionController::Flash. but our
application controller is inherited from ActionController::Base, why can we
use flash in our application controller ?
to be more concrete, i guess the code has the following form:
Class ActionController{
Class Flash
2 matches
Mail list logo