Using Rails 4.0.0
and Ruby 2.0.0
I was looking at my _urls
and _paths
in my rails console and noticed
2.0.0p247 :001 > app.host
=> "www.example.com"
2.0.0p247 :001 > app.root_url
=> "http://www.example.com/"
Is setting the host
to www.example.com
just default behavior upon rails c
startup or is there a config somewhere that sets this domain? If so, how do I set the app.host
variable/config per environment?