Ruby on Rails Discussions
Getting Local Hostname
rubyonrails-talk
Jason_Stewart1
(Jason Stewart)
December 18, 2006, 6:07pm
1
In Rails, there is request.host or request.host_with_port that you can use in your controllers.
Related topics
Topic
Replies
Views
Activity
Getting Local Hostname
rubyonrails-talk
1
98
December 18, 2006
get server address (rails server)
rubyonrails-talk
0
134
November 8, 2010
How to get hostname of my site?
rubyonrails-talk
0
120
November 9, 2006
How can a rails app get its host name?
rubyonrails-talk
11
5428
November 25, 2009
Hostname
rubyonrails-talk
3
131
May 15, 2008