The request object responds to 'host' and others. Try this in your controller:
request.host
See here for more: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html
/Jeff
The request object responds to 'host' and others. Try this in your controller:
request.host
See here for more: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html
/Jeff