Update gems for Rails 4.0.2
Remove whiny_nils, no longer supported in Rails 4
Specify method for all routes

Generic 'match' not supported in Rails 4
Set eager_load in each environment

Required for Rails 4
Run migrations using Postgresql
Use Postgresql in development and test
Don't require cucumber rails by default
Specify bcrypt-ruby version in Gemfile
Specify version for all gems in Gemfile
Remove vendor/plugins; not needed for Rails 4
Use lambda for scope; needed for Rails 4
Die Hashrockets die!
Use new Rails 4 #find_by
Add secret_key_base to secret_token

Needed for Rails 4.0
Use #stub instead of #stub!

stub! is now deprecated
Use new Rails i18n local default
Add pry to Gemfile
Remove presence validation for password

has_secure_password already provides this validation
Use strong params in UsersController
Provide password confirmation in User factory