Created
September 14, 2011 18:18
-
-
Save austinbv/1217318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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