Skip to content

Instantly share code, notes, and snippets.

@theneubeck
Created February 10, 2010 16:17
Show Gist options
  • Save theneubeck/300484 to your computer and use it in GitHub Desktop.
Save theneubeck/300484 to your computer and use it in GitHub Desktop.
Rails host
ActionMailer::Base.default_url_options[:host] = Socket.gethostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment