Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Undefined method to_key #18

alvincrespo opened this Issue Nov 21, 2010 · 1 comment


None yet
1 participant

I keep getting the following error in my login form:

NoMethodError in User_sessions#new

Showing /Users/alvincrespo/Sites/lajobr/app/views/user_sessions/_form.html.erb where line #1 raised:

undefined method `to_key' for #<UserSession: no credentials provided>

Extracted source (around line #1):

1: <%= form_for @user_session do |f| %>
2: <%= f.error_messages %>

I'm not sure what the issue may be. Any help would be great! Thanks!

I'm not sure if the problem has been fixed yet for Rails 3, but I found a post that apparently give a solution:


This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment