rubyonrails-talk
August 31st, 2006, 09:56 AM
Is there something similar for rails that is like $_SERVER in PHP?
Something that gives you the hostname, etc. I tried using just host in
my controller, because the documentation says there is a host method,
and got an undefined method error.
More... (http://groups.google.com/group/rubyonrails-talk/msg/dbaff8dd0771dbce)
Something that gives you the hostname, etc. I tried using just host in
my controller, because the documentation says there is a host method,
and got an undefined method error.
More... (http://groups.google.com/group/rubyonrails-talk/msg/dbaff8dd0771dbce)