add user model
note structure of user model in app/models/user.rb
add annotate to gemfile in development group
installed annotate with bundle install
update user_spec.rb to test for the :name and :email attributes
add validates(:name, presence: true) to user.rb
parentheses in user.rb
comment out the validation for user name and email so tests will fail
validate user name - pass tests
add test for valid email in user_spec.rb
validate user email
added tests for when email format is invalid and for when email format is valid - both currently fail
add regex to app/models/user.rb to validate format of email address
test for valid email address - tests pass
add uniqueness requirement in migration - email
add before_save block to user.rb model so it's downcased before getting saved
install bcrypt-ruby gem
add it { should respond_to(:password_digest) } to user_spec.rb
migrate database to add password_digest column to the users table
test for password and password_confirmation attributes