ao tianlong
2007-Sep-28 03:48 UTC
how to build a url like "http://localhost?profiles.name=abc"
rails url_for may not support the "." in the hash key. any idea? thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
raghukumar
2007-Sep-28 14:57 UTC
Re: how to build a url like "http://localhost?profiles.name=abc"
hi tianlong, if you write some thing like this it will work, in irb it''s working fine, x = { "profile.name" => "test" } # might be you are using :profile.name and if this is key which you are sending from your form to controller, even then everything should work fine., as you know that html url will be escaped and sent to controller. Sorry if this is not answering your problem, but it''s better if you post at-least some part of code. On Sep 28, 8:48 am, "ao tianlong" <aotianl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> rails url_for may not support the "." in the hash key. > any idea? > > thanks--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---