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

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.