I have finished Chapter 6 of railstutorial but all my User model specs have started failing soon after I added password & password_confirmation
password
password_confirmation
Just add has_secure_password into User model file if you haven't done this yet.
has_secure_password
class User < ActiveRecord::Base attr_accessible :email, :name, :password, :password_confirmation has_secure_password # .. end