New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined local variable or method `authentication_keys' #13
Comments
Hallo Ben, you can update /config/initializers/devise.rb and activate config.authentication_keys = [ :email ]
|
config.authentication_keys = [ :email ] is uncommented. Is this reproducible? I can pick through the example some more, but the only difference I seem to find is the version of gems used. (2.0.0 in my example, 1.2.rc in yours) Also, using the devise_couch_example with the updated gems for Devise 2.0.0, couchrest 1.1.2, and couchrest_mode1.1.2, seem to break your example as well. Does devise_couch not work with any version of these above whats listed in your Gemfile? ~ben |
I've played with your example a bit and it seems to break only with Rails 3.1.3 The error is being thrown in lib/devise/orm/couchrest_model.rb def create_authentication_views
authentication_keys.each do |key_name|
view_by key_name
end |
kindly, rails 3.1.3 is not tested yet. |
Repro
Building an app from scratch. After running
Running rake routes throws:
More Info
Base User model of:
config/initializer/devise.rb contains (shortened):
config/application.rb contains (shortened):
Devise related gems installed:
Full rake error at:
https://gist.github.com/1532865
The text was updated successfully, but these errors were encountered: