RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: hudsonsferreira
I did the follow steps and get this. I already put gem "bcrypt-ruby", :require => "bcrypt" runned bundle install and restart my server.
Completed 500 Internal Server Error in 3ms
NameError (uninitialized constant User::Bcrypt): app/models/user.rb:24:in encrypt_password' app/controllers/users_controller.rb:8:increate'
encrypt_password' app/controllers/users_controller.rb:8:in
Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms) Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.3ms)
I did the follow steps and get this. I already put gem "bcrypt-ruby", :require => "bcrypt"
runned bundle install and restart my server.
Completed 500 Internal Server Error in 3ms
NameError (uninitialized constant User::Bcrypt):
app/models/user.rb:24:in
encrypt_password'
create'app/controllers/users_controller.rb:8:in
Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /home/hudson/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.3ms)