We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just followed the steps in Readme and when I try to submit Sign Up, I get this error which interrupts runtime. Any clue on how can I proceed?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
It's obviously related to this line of code:
login = model.send(:"_#{User.login_field}")
I can't see where this login_field method is declared or configured anywhere else.
login_field
Sorry, something went wrong.
I managed to solve this issue adding a class method to User model.
def self.login_field 'email' end
But I think this should be handled in the signup controller using the existing method use_username?
use_username?
No branches or pull requests
Just followed the steps in Readme and when I try to submit Sign Up, I get this error which interrupts runtime.
Any clue on how can I proceed?
Thanks in advance.
The text was updated successfully, but these errors were encountered: