Added email validation on the User and Customer models.
Merge branch 'master' into email_validation
Merge branch 'master' into email_validation
Merge branch 'master' into email_validation
Created demo controller to handle the demo chats. Modified the routes accordingly. Changed the tests to reflect this change. All tests are passing.

Files Added / Modified

modified:   app/controllers/customers_controller.rb
renamed:    app/controllers/chats_controller.rb -> app/controllers/demo_controller.rb
modified:   app/controllers/home_controller.rb
modified:   app/controllers/messages_controller.rb
modified:   app/views/admin/chats/show.html.erb
renamed:    app/views/chats/index.html.erb -> app/views/demo/index.html.erb
renamed:    app/views/chats/show.html.erb -> app/views/demo/show.html.erb
modified:   app/views/home/show.html.erb
modified:   config/routes.rb
modified:   spec/controllers/customers_controller_spec.rb
renamed:    spec/controllers/chats_controller_spec.rb -> spec/controllers/demo_controller_spec.rb
modified:   spec/controllers/home_controller_spec.rb
modified:   spec/features/visitor_chats_spec.rb
Make changes on the demo_controller, message create.js and the chat partial to reflect the changes in the routes
Merge branch 'email_validation' of github.com:thesteady/supportme into email_validation
Changed redirect when user is created to root_url. Also, modified the message from 'Your account was created.' to 'Your account was created. You can login now.' to improve clarity. Still, we need to secure the controllers at some point.

Files Modified

modified:   app/controllers/users_controller.rb
modified:   spec/controllers/users_controller_spec.rb