Skip to content

debug devise 3.5.6 "remember_me?" which takes two arguments#3

Open
acavalin wants to merge 1 commit into
mobalean:masterfrom
acavalin:master
Open

debug devise 3.5.6 "remember_me?" which takes two arguments#3
acavalin wants to merge 1 commit into
mobalean:masterfrom
acavalin:master

Conversation

@acavalin

@acavalin acavalin commented Feb 5, 2016

Copy link
Copy Markdown

Looking into device source I found this solution.
Do you think it is correct?

@bazay

bazay commented Apr 8, 2016

Copy link
Copy Markdown

Hi just wanted to let you know that I was encountering the following error when also using devise (3.5.6) and devise_ssl_session_verifiable (3.0.1):

{
  "success"=>false,
  "message"=>"wrong number of arguments (0 for 2)",
  "inspect"=>"#<ArgumentError: wrong number of arguments (0 for 2)>",
  "backtrace"=> [
    ".../.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.5.6/lib/devise/models/rememberable.rb:104:in `remember_me?'",
    ...
  ]
}

And applying your fix via a monkey patch in my project resolved the issue, so thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants