Skip to content

Instantly share code, notes, and snippets.

@lawrencecurtis
Created February 25, 2010 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawrencecurtis/314527 to your computer and use it in GitHub Desktop.
Save lawrencecurtis/314527 to your computer and use it in GitHub Desktop.
undefined local variable or method `request' for Notifier:Class
class Notifier < ActionMailer::Base
default :from => "lawrencecurtis@yellowpad.co.uk"
default_url_options[:host] = request.host_with_port
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment