Skip to content

Instantly share code, notes, and snippets.

@austinbv
Created September 14, 2011 18:18
Show Gist options
  • Save austinbv/1217318 to your computer and use it in GitHub Desktop.
Save austinbv/1217318 to your computer and use it in GitHub Desktop.
# in irb
-> Notifier.tell_me
=> NoMethodError: undefined method `tell_me' for Notifier:Class
from /data/**/shared/bundled_gems/ruby/1.8/gems/actionmailer-2.3.8/lib/action_mailer/base.rb:400:in `method_missing'
from (irb):1
class Notifier < ActionMailer::Base
#... there are other methods I just shortened for
# the sake of the gist.
# none of them work from console/rake
def tell_me
recipients "[email protected]"
subject "there was just a deploy"
content_type "text/html"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment