Hi,
I want to know that how 'params' get created in rails?
when http: request comes we have get all parameter using hash params
e.g:- params[:id]
But in ActionController how params get created and how it is
initialised there?
Also what is scope for params?
Thanks.
on 2008-09-12 08:48
on 2008-10-01 07:37
Sunny Bogawat wrote: > Hi, > I want to know that how 'params' get created in rails? > when http: request comes we have get all parameter using hash params > e.g:- params[:id] > But in ActionController how params get created and how it is > initialised there? > Also what is scope for params? > > Thanks. Hi, Action Controller creates these params for us. For detail refer to request.rb of action controller Tushar
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.