RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jonahbrown
I keep getting
Couldn't find User with auth_token = ):
in my template I use:
<% if current_user %>
Logged in as <%= current_user.email %>.
<% end %>
in my application.rb it is defines
@current_user ||= User.find_by_auth_token!(cookies[:auth_token]) if cookies[:auth_token]
happens when a user is trying to reset the password.