Evan Light
Not a member
Evan Light's latest activity
Wednesday, March 02 2011
6500
url_for does not automatically :only_path => false when :host is set
was updated
in Ruby on Rails
-
Evan Light commented at 1:17 AMPlease close this. Not a bug. Perhaps the documentation could use an update to remind people that url defaults to :only_path => false and path defaults to :only...
-
Evan Light commented at 12:47 AMMore specifically, this only happens when using a named route helper. Using url_for directly works fine.
-
-
Evan Light commented at 12:32 AMSpecifically, docs for url_for claim :only_path defaults to false. However, setting :host without explicitly specifying :only_path => false results in a relativ...
-