Created
February 26, 2014 14:06
-
-
Save gouthamvel/9229980 to your computer and use it in GitHub Desktop.
NameError: undefined local variable or method `respond_to_new_founder' for StartupMailer:Class; Issue with space(like char) before def
This file contains 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 StartupMailer < ActionMailer::Base | |
default from: "from@example.com" | |
def respond_to_new_founder | |
send('mail', to: 'email@gmail.com', subject: 'Welcome to My Awesome Site') | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment