How to build a url like "http://localhost?"

rails url_for may not support the “.” in the hash key.
any idea?


hi tianlong,

if you write some thing like this it will work,
in irb it’s working fine,
x = { “” => “test” } # might be you are

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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs