where is devise implementation of “authenticate_user!” method?
It’s in lib/devise/controllers/helpers.rb1 and is generated dynamically (user being only one of the possible suffixes):
It’s in lib/devise/controllers/helpers.rb1 and is generated dynamically (user being only one of the possible suffixes):
I had a similar problem today with ruby 2.3.3 and rails 4.2.4. The problem was that bundle install of devise installed as a dependency another version of bcrypt (bcrypt (3.1.11 x86-mingw32) instead of bcrypt (3.1.11)) which was causing trouble with ruby 2.3 (it should work with all previous versions of ruby) The solution I used is to install bcrypt … Read more
Note: While this answer has the desired effect, it does so by reducing overall security. The below answer by Alon is more correct and maintains the security of the site.