Changed the default_url_option[:host] to check for the rails environment