Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
undefined method 'login' Rails 5 #794
Hi, I have that sorcery.rb initializer
Rails.application.config.sorcery.submodules = [:reset_password, :activity_logging]
but, when I try to use login() in my session controller
I get a undefined method error.
Thanks for helping.
Thanks! If you want to shorten the post, it looks like all the pertinent information is inside id's 0-2.
Edit: Are you sure that
Edit 2: Which line exactly is line 6 in your controller? If it's pointing at a specific function that could also help narrow down the exact issue.
@pass is set, you can see the puts.
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)