gouthamvel
2/26/2014 - 2:06 PM

NameError: undefined local variable or method `respond_to_new_founder' for StartupMailer:Class; Issue with space(like char) before def

NameError: undefined local variable or method `respond_to_new_founder' for StartupMailer:Class; Issue with space(like char) before def

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