rails url_for may not support the “.” in the hash key.
any idea?
thanks
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs