I''m trying to figure out how to interpret a request of the standard variety: http://www.domain.com/controller/action?VAR1=val1&VAR2=val2... I must not know exactly what to look for because I can''t find anything in the posts or API. I''ve used a post/response CGI parse within an action, but this would come in from another site altogether. I need to have this post interpreted and variables assigned from the parameters that it passes. Where should I look for help? Thank you! -Kyle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Nov 12, 2007, at 11:21 AM, Kyle wrote:> I''m trying to figure out how to interpret a request of the standard > variety: > > http://www.domain.com/controller/action?VAR1=val1&VAR2=val2... > > I must not know exactly what to look for because I can''t find anything > in the posts or API. I''ve used a post/response CGI parse within an > action, but this would come in from another site altogether. I need > to have this post interpreted and variables assigned from the > parameters that it passes. Where should I look for help?Have you looked at these objects ? params request http://api.rubyonrails.org/classes/ActionController/Base.html -- gw (www.railsdev.ws) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks for pointing me in the right direction. I sometimes fail to hit up the "big picture" documentation and just search for specifics. I should be able to get what I''m looking for from the info that you gave. Thanks again! -Kyle On Nov 12, 2:05 pm, Greg Willits <li...-0Bv1hcaDFPRk211Z5VL+QA@public.gmane.org> wrote:> On Nov 12, 2007, at 11:21 AM, Kyle wrote: > > > I''m trying to figure out how to interpret a request of the standard > > variety: > > >http://www.domain.com/controller/action?VAR1=val1&VAR2=val2... > > > I must not know exactly what to look for because I can''t find anything > > in the posts or API. I''ve used a post/response CGI parse within an > > action, but this would come in from another site altogether. I need > > to have this post interpreted and variables assigned from the > > parameters that it passes. Where should I look for help? > > Have you looked at these objects ? > > params > request > > http://api.rubyonrails.org/classes/ActionController/Base.html > > -- gw (www.railsdev.ws)--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---