C14. Task I: Logging In. "Password can't be blank" error
19 Sep 2013, 15:19
Aynanolog Aynanae (2 posts)
I’m getting “Password can’t be blank” error when trying to create a new user.
If I remove the “has_secure_password” from user.rb then the error doesn’t show and I can create user.
What I am doing wrong?
Thanks for help in advance!
23 Nov 2013, 19:43
Roman Adamiv (1 post)
Have the same problem, was fighting with this during some days, but I failed.
“Password can’t be blank”
gem ‘bcrypt-ruby’, ‘~>3.1.2’
I tried the other versions of bcrypt I also thought that problem is with OS, because mailny I did the project at MS Win 7 (32bit), then tried the same at Ubuntu but error didn’t gone.
|You must be logged in to comment|