On 26 Sep 2008, at 14:15, Tushar Gandhi wrote:


Hi,
  I have created the url
"http://localhost:3000/groups/home?group_id=1&parent_id=3";.
 I have one method in which I am able to access the url parameters by
using params[:group_id] and params[:parent_id].
My question is that how the params hash is get created? and who creats
this hash?

ActionController creates it for you (grungy details in request.rb)

Fred


Thanks,
Tushar
-- Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to