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
def current_user @current_user ||= User.find_by_auth_token!(cookies[:auth_token]) if cookies[:auth_token] end
happens when a user is trying to reset the password.
I keep getting
in my template I use:
in my application.rb it is defines
happens when a user is trying to reset the password.