BitGub/YourDay — pull request #1 by BitGub (2013-08-23 14:52:39+00:00)
Title: devise install and initial config

I added Devise gem to 'Gemfile' and ran bundle install. I then ran rails g devise:install which created the following files: "config/initializers/devise.rb" and "config/locales/devise.en.yml". I followed the set-up instructions regarding the "config/environments/development.rb" file, and added the flash messages to the app layout view. I added the 'config.assets.initialize_on_precompile = false' to the 'config/application.rb' file as suggested by the set up instructions, and had a look online and saw that from Rails 3.2, there is a problem with Rails seeing Devise, whether this is is a problem I do not know.

I ran ' rails g devise user' which generated:
invoke active_record
create db/migrate/20130823143349_devise_create_users.rb
create app/models/user.rb
invoke test_unit
create test/models/user_test.rb
create test/fixtures/users.yml
insert app/models/user.rb
route devise_for :users

modified the migrate file and user model file to what settings I want to implement.