/!\ FAILSAFE /!\ Tue Nov 11 18:45:45 +0530 2014 Status: 500 Internal Server Error Unknown database 'todo_development' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:619:in `real_connect' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:619:in `connect' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:203:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `mysql_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout' /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/head.rb:9:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `synchronize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:47:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `each' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/content_length.rb:13:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/chunked.rb:15:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/handler/mongrel.rb:67:in `process' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/handler/mongrel.rb:38:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/commands/server.rb:111 /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 /!\ FAILSAFE /!\ Tue Nov 11 18:45:46 +0530 2014 Status: 500 Internal Server Error Unknown database 'todo_development' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:619:in `real_connect' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:619:in `connect' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:203:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `mysql_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout' /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/head.rb:9:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `synchronize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:47:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `each' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/urlmap.rb:41:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/content_length.rb:13:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/chunked.rb:15:in `call' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/handler/mongrel.rb:67:in `process' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /home/user/.rvm/gems/ruby-1.8.7-head/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rack-1.1.6/lib/rack/handler/mongrel.rb:38:in `run' /home/user/.rvm/gems/ruby-1.8.7-head/gems/rails-2.3.8/lib/commands/server.rb:111 /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /home/user/.rvm/rubies/ruby-1.8.7-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:46:09) [GET] NameError (uninitialized constant WelcomeController): Rendered rescues/_trace (13.6ms) Rendered rescues/_request_and_response (0.6ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:46:11) [GET] NameError (uninitialized constant WelcomeController): Rendered rescues/_trace (13.1ms) Rendered rescues/_request_and_response (0.3ms) Rendering rescues/layout (internal_server_error) SQL (0.2ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:46:11) [GET] NameError (uninitialized constant WelcomeController): Rendered rescues/_trace (12.0ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.2ms) SET NAMES 'utf8' SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:46:13) [GET] NameError (uninitialized constant WelcomeController): Rendered rescues/_trace (49.2ms) Rendered rescues/_request_and_response (0.3ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:53:32) [GET] NameError (uninitialized constant WelcomeController): Rendered rescues/_trace (11.8ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:53:59) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:00) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:01) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:01) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:01) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:01) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 18:54:02) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:54:09) [GET] ActionController::RoutingError (No route matches "/login" with {:method=>:get}): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-11 18:54:15) [GET] ActionController::RoutingError (No route matches "/user/login" with {:method=>:get}): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 18:54:20) [GET] Rendering users/login Completed in 3ms (View: 2, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.3ms) SET NAMES 'utf8' SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:00:14) [GET] Rendering users/login Completed in 1ms (View: 0, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:00:15) [GET] Rendering users/login Completed in 2ms (View: 1, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 19:00:25) [GET] ActionController::UnknownAction (No action responded to index. Actions: login, logout, and new): Rendering rescues/layout (not_found) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:01:45) [GET] User Columns (0.0ms) Mysql::Error: Table 'todo_development.users' doesn't exist: SHOW FIELDS FROM `users` ActiveRecord::StatementInvalid (Mysql::Error: Table 'todo_development.users' doesn't exist: SHOW FIELDS FROM `users`): app/controllers/users_controller.rb:16:in `login' Rendered rescues/_trace (20.7ms) Rendered rescues/_request_and_response (0.6ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:01:46) [GET] User Columns (0.0ms) Mysql::Error: Table 'todo_development.users' doesn't exist: SHOW FIELDS FROM `users` ActiveRecord::StatementInvalid (Mysql::Error: Table 'todo_development.users' doesn't exist: SHOW FIELDS FROM `users`): app/controllers/users_controller.rb:16:in `login' Rendered rescues/_trace (50.7ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 SQL (20.7ms) SHOW TABLES SQL (198.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (0.2ms) SHOW KEYS FROM `schema_migrations` SQL (205.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.2ms) SHOW TABLES SQL (0.8ms) SELECT version FROM schema_migrations Migrating to CreateUsers (20141111132940) SQL (47.1ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_hash` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (24.6ms) INSERT INTO schema_migrations (version) VALUES ('20141111132940') SQL (0.2ms) SHOW TABLES SQL (0.1ms) SELECT version FROM schema_migrations SQL (0.1ms) SHOW TABLES SQL (0.4ms) SHOW FIELDS FROM `users` SQL (0.3ms) describe `users` SQL (0.1ms) SHOW KEYS FROM `users` SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:02:01) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` User Load (17.0ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:17:in `login' Rendered rescues/_trace (14.8ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 19:02:55) [GET] ActionController::UnknownAction (No action responded to index. Actions: create, forgot_password, login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:03:08) [GET] User Columns (0.4ms) SHOW FIELDS FROM `users` User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:17:in `login' Rendered rescues/_trace (49.5ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:03:32) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` User Load (0.0ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:17:in `login' Rendered rescues/_trace (15.9ms) Rendered rescues/_request_and_response (0.3ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:03:33) [GET] User Columns (0.4ms) SHOW FIELDS FROM `users` User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:17:in `login' Rendered rescues/_trace (14.5ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:03:33) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:17:in `login' Rendered rescues/_trace (54.5ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-11 19:04:22) [GET] ActionController::UnknownAction (No action responded to index. Actions: create, forgot_password, login, logout, and new): Rendering rescues/layout (not_found) SQL (0.0ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:06:25) [GET] User Columns (1.5ms) SHOW FIELDS FROM `users` User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:16:in `login' Rendered rescues/_trace (16.1ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:06:46) [GET] Rendering users/login Completed in 3ms (View: 2, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:07:30) [GET] Rendering users/login Completed in 1ms (View: 0, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:07:31) [GET] Rendering users/login Completed in 1ms (View: 0, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.0ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:07:33) [GET] Rendering users/login Completed in 1ms (View: 0, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:08:09) [GET] Rendering users/login Completed in 52ms (View: 51, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:08:19) [POST] Parameters: {"authenticity_token"=>"peuM37n+EYtwcJJyy53hU9kOBZ4n6ArVWtQ8xEP6jvA=", "user"=>{"username"=>"abvayad", "password"=>"abvayad"}} User Columns (0.4ms) SHOW FIELDS FROM `users` User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:16:in `login' Rendered rescues/_trace (17.4ms) Rendered rescues/_request_and_response (0.4ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:09:18) [GET] Rendering users/login Completed in 3ms (View: 2, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-11 19:09:21) [POST] Parameters: {"authenticity_token"=>"peuM37n+EYtwcJJyy53hU9kOBZ4n6ArVWtQ8xEP6jvA=", "user"=>{"username"=>"ret", "password"=>"ert"}} User Columns (0.4ms) SHOW FIELDS FROM `users` User Load (0.0ms) SELECT * FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 NoMethodError (undefined method `password' for nil:NilClass): app/controllers/users_controller.rb:16:in `login' Rendered rescues/_trace (14.2ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:09:25) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (20.6ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:24:43) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (22.2ms) Rendered rescues/_request_and_response (37.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:24:45) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (22.1ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:24:57) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (18.8ms) Rendered rescues/_request_and_response (0.6ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:25:32) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (53.5ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:25:57) [GET] Rendering users/new ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on line #5 of app/views/users/new.html.erb: 2:
3:
4: Sign up! 5: <% form_for @user do |user_form| %> 6: <%= user_form.error_messages %> 7:
8: app/views/users/new.html.erb:5 Rendered rescues/_trace (17.8ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:26:38) [GET] User Columns (26.0ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (undefined method `firstname' for #) on line #10 of app/views/users/new.html.erb: 7:
8: 9:
10: <%= user_form.text_field :firstname, :placeholder=>"First Name",:type=>"text",:id=>"inputfirstname",:class=>"form-control",:required=>"true",:autofocus=>"true" %> 11: 12: 13: app/views/users/new.html.erb:10 app/views/users/new.html.erb:5 Rendered rescues/_trace (21.6ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:27:32) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 16: <%= user_form.text_field :date_of_birth, :placeholder=>"Date of birth",:type=>"date",:id=>"inputdob",:class=>"form-control",:required=>"true" %> bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (54.6ms) Rendered rescues/_request_and_response (0.2ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:28:19) [GET] User Columns (0.7ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (20.0ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:28:58) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (59.7ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:29:56) [GET] User Columns (0.7ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (20.4ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:31:52) [GET] User Columns (0.6ms) SHOW FIELDS FROM `users` Rendering users/new Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/users/new] SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:33:38) [GET] User Columns (0.4ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:9:in `new' app/models/user.rb:9:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (21.4ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-11 19:34:37) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (57.9ms) Rendered rescues/_request_and_response (0.1ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#index (for 127.0.0.1 at 2014-11-12 10:43:52) [GET] ActionController::UnknownAction (No action responded to index. Actions: create, forgot_password, login, logout, and new): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing ApplicationController#index (for 127.0.0.1 at 2014-11-12 10:43:58) [GET] ActionController::RoutingError (No route matches "/new" with {:method=>:get}): Rendering rescues/layout (not_found) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#new (for 127.0.0.1 at 2014-11-12 10:44:04) [GET] User Columns (0.5ms) SHOW FIELDS FROM `users` Rendering users/new ActionView::TemplateError (invalid hash) on line #13 of app/views/users/new.html.erb: 10: <%= user_form.text_field :email, :placeholder=>"Email",:type=>"text",:id=>"inputemail",:class=>"form-control",:required=>"true"%> 11: 12: 13: <%= user_form.text_field :password, :placeholder=>"Password",:type=>"password",:id=>"inputfpassword",:class=>"form-control",:required=>"true" %> 14: 15: 16:
bcrypt (3.1.9) lib/bcrypt/password.rb:60:in `initialize' app/models/user.rb:8:in `new' app/models/user.rb:8:in `password' app/views/users/new.html.erb:13 app/views/users/new.html.erb:5 Rendered rescues/_trace (49.5ms) Rendered rescues/_request_and_response (0.6ms) Rendering rescues/layout (internal_server_error) SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-12 10:44:12) [GET] Rendering users/login Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/users/login] SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing UsersController#login (for 127.0.0.1 at 2014-11-12 10:46:06) [GET] Rendering template within layouts/application Rendering users/login ActionView::TemplateError (You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[]) on line #36 of app/views/layouts/application.html.erb: 33:
34: