Closed CaptainM closed 9 years ago
Can you push your code to the appropriate branch on GitHub and point us to that so we can take a look?
Yep! It's on master, and the user_params can be found workout_journal/app/controllers/users_controller.rb
The error that I'm getting is "unknown attribute :password" on line 12 (when I'm trying to use my user_params).
Awesome, thanks.
Take a look at your user model from Where-Fi, and compare it to your user model. See anything different?
Did this issue get resolved?
@harimohanraj89 @htella @DrRobotmck In my where-fi app, my schema has a field of password_digest, and my new, edit, and user_params break that down into :password and :password_confirmation.
However, in my workout_journal, rails does not recognize the user_param of ':password' so I cannot create any new users. I've looked over the code many times and compared it to my where-fi app, and I can't find what is wrong. Is there something with related to having JS in rails that would affect password_digest?