lucasrenan / CouchRest-Model-ORM-for-Devise

It integrates Devise with CouchDB
17 stars 2 forks source link

Check the remember me on Sign In and show up this error! #2

Open guivinicius opened 13 years ago

guivinicius commented 13 years ago

NoMethodError in Devise/sessionsController#create

undefined method `by_remember_token' for Admin:Class
lib/orm/couchrest_model.rb:57:in `send'
lib/orm/couchrest_model.rb:57:in `find_one_by_key_and_value'
lib/orm/couchrest_model.rb:45:in `find'

Parameters:

{"commit"=>"Sign in",
 "admin"=>{"remember_me"=>"1",
 "password"=>"[FILTERED]",
 "email"=>"#############"},
 "authenticity_token"=>"O+SwPJN8jLPb/MYY87hOZzgyrhmGnWjbVw/UXk9Saco=",
 "utf8"=>"\342\234\223"}