Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1009096
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great!
1009096
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting the
undefined method 'unshift' for nil:NilClass
error popping up after a ruby upgrade, albeit with a lower Rails version....ion only: [:create, :destroy] { request.env["devise.skip_tim... ... ^ /Users/deploy/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.2.0/app/controllers/devise/sessions_controller.rb:5: syntax error, unexpected '}', expecting keyword_end ..."devise.skip_timeout"] = true }
As my guilty code states
skip_before_filter :authenticate_user!, :only => [:create, :new]
it appears that my devise code has not the above change implemented. How can I go about resolving this?1009096
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dvodvo it looks like you're using Devise 4.2.0, and this fix was part of the 4.4.0 release, so you'll need to update to that :)
1009096
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting this issue on Devise 4.6.2 still but resolved after changing to 4.4.3.
Is it regression bug in version 4.6.2 ?
1009096
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirantpatil I don't think so, but it might be a different issue. Do you mind the open a new issue for that?