11章でまったく同じコードですすめているのですが、エラーがでて先にすすめません。
エラーの原因がなんなのかまったくわからりません。
こういうときはどうやって解決すればよいのでしょうか?
エラー内容は下記のように表示されています。
Unable to autoload constant UserMailer, expected /home/vagrant/rails_lessons/sample_app/app/mailers/user_mailer.rb to define it
Extracted source (around line #8):
user = User.first user.activation_token = User.new_token UserMailer.account_activation(user) end # Preview this email at http://localhost:3000/rails/mailers/user_mailer/password_reset
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。