Hello... Stupid question I''m sure...but I have tried: params[:permission[:user_id] etc., etc... And I can get to the user_id variable. Parameters: {"commit"=>"Add", "permission"=>{"document_id"=>"1", "user_id"=>"2"}, "id"=>"1"} How do I access these variables from a post request. Thank you. GPB --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
params[:permission][:user_id] On 8/24/07, GPB <gbarchi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hello... > > Stupid question I''m sure...but I have tried: > > params[:permission[:user_id] etc., etc... > > And I can get to the user_id variable. > > Parameters: {"commit"=>"Add", "permission"=>{"document_id"=>"1", > "user_id"=>"2"}, "id"=>"1"} > > How do I access these variables from a post request. > > Thank you. > > GPB > > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you...! It works. On Aug 24, 1:00 pm, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> params[:permission][:user_id] > > On 8/24/07, GPB <gbar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Hello... > > > Stupid question I''m sure...but I have tried: > > > params[:permission[:user_id] etc., etc... > > > And I can get to the user_id variable. > > > Parameters: {"commit"=>"Add", "permission"=>{"document_id"=>"1", > > "user_id"=>"2"}, "id"=>"1"} > > > How do I access these variables from a post request. > > > Thank you. > > > GPB > > -- > Cheers! > - Pratikhttp://m.onkey.org- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---