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?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.