From d578b789e99faa296f6a36a01699cb3f281ccb90 Mon Sep 17 00:00:00 2001 From: James Beavers Date: Thu, 18 Sep 2014 02:21:17 -0400 Subject: [PATCH 1/3] Add default .gitignore file to ignore logs, etc --- .gitignore | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a85564 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# See https://help.github.com/articles/ignoring-files for more about ignoring files. +# +# If you find yourself ignoring temporary files generated by your text editor +# or operating system, you probably want to add a global ignore instead: +# git config --global core.excludesfile '~/.gitignore_global' + +# Ignore bundler config. +/.bundle + +# Ignore the default SQLite database. +/db/*.sqlite3 +/db/*.sqlite3-journal + +# Ignore all logfiles and tempfiles. +/log/*.log +/tmp + + +# Add non-default ignores below From c512ae24af69f2f23c72b4342c58e2c5baa340dc Mon Sep 17 00:00:00 2001 From: James Beavers Date: Thu, 18 Sep 2014 02:25:15 -0400 Subject: [PATCH 2/3] Deleted log files --- log/development.log | 15439 ------------------------------------------ log/production.log | 305 - 2 files changed, 15744 deletions(-) delete mode 100644 log/development.log delete mode 100644 log/production.log diff --git a/log/development.log b/log/development.log deleted file mode 100644 index 6bb59de..0000000 --- a/log/development.log +++ /dev/null @@ -1,15439 +0,0 @@ -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-18 19:58:56 +0530 -Served asset /rails.png - 200 OK (6ms) -Connecting to database specified by database.yml - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-18 20:04:39 +0530 -Served asset /rails.png - 304 Not Modified (2ms) - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-18 20:04:41 +0530 -Served asset /rails.png - 200 OK (0ms) - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-18 20:04:41 +0530 -Served asset /rails.png - 200 OK (0ms) - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-18 20:04:42 +0530 -Served asset /rails.png - 200 OK (0ms) - - -Started GET "/redirect_to_login" for 127.0.0.1 at 2013-06-18 20:35:31 +0530 - -ActionController::RoutingError (No route matches [GET] "/redirect_to_login"): - actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' - railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' - activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' - rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' - rack (1.4.5) lib/rack/runtime.rb:17:in `call' - activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' - rack (1.4.5) lib/rack/lock.rb:15:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' - railties (3.2.13) lib/rails/engine.rb:479:in `call' - railties (3.2.13) lib/rails/application.rb:223:in `call' - rack (1.4.5) lib/rack/content_length.rb:14:in `call' - railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' - rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (7.8ms) -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (228.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (364.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (13.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (130.6ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (308.9ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (397.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (166.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -  (125.2ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (53.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (118.5ms) CREATE TABLE `roles_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (53.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (1.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -  (1.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (1.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -Migrating to CreatePermissions (20130618232522) -  (205.2ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (53.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (133.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (275.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (117.7ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (221.1ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (208.8ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (53.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (118.6ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (42.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (443.3ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (130.7ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (43.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (136.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (286.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (109.9ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (241.7ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (243.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (53.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (175.2ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (53.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (154.1ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (242.5ms) CREATE INDEX `index_roles_users_on_role_id` ON `roles_users` (`role_id`) -  (230.9ms) CREATE INDEX `index_roles_users_on_user_id` ON `roles_users` (`user_id`) -  (43.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (153.4ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (54.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (213.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (232.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (156.5ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (187.0ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (188.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (53.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (107.1ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (53.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (108.3ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (176.2ms) CREATE INDEX `index_roles_users_on_role_id` ON `roles_users` (`role_id`) -  (186.6ms) CREATE INDEX `index_roles_users_on_user_id` ON `roles_users` (`user_id`) -  (54.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (109.7ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (54.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -  (172.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (231.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (102.4ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (232.3ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (209.7ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (43.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (87.2ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (42.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (108.8ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (176.2ms) CREATE INDEX `index_roles_users_on_role_id` ON `roles_users` (`role_id`) -  (186.9ms) CREATE INDEX `index_roles_users_on_user_id` ON `roles_users` (`user_id`) -  (43.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (131.5ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (43.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Mysql2::Error: Table 'study_db.permissions_roles' doesn't exist: INSERT INTO `permissions_roles` (`role_id`, `permission_id`) VALUES (1, 1) -Connecting to database specified by database.yml -Connecting to database specified by database.yml -  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -Migrating to CreatePermissions (20130618232522) -Migrating to PermissionsRoles (20130619074955) -  (126.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130619074955') -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Connecting to database specified by database.yml -Mysql2::Error: Table 'study_db.permissions_roles' doesn't exist: INSERT INTO `permissions_roles` (`role_id`, `permission_id`) VALUES (1, 1) -Connecting to database specified by database.yml -  (1.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -Migrating to CreatePermissions (20130618232522) -Migrating to PermissionsRoles (20130619074955) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -  (228.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (242.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (133.0ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (274.7ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (243.5ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (54.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (153.0ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (150.9ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (208.9ms) CREATE INDEX `index_roles_users_on_role_id` ON `roles_users` (`role_id`) -  (219.7ms) CREATE INDEX `index_roles_users_on_user_id` ON `roles_users` (`user_id`) -  (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (154.0ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -Migrating to PermissionsRoles (20130619074955) -  (143.1ms) CREATE TABLE `permissions_roles` (`permission_id` int(11), `role_id` varchar(255)) ENGINE=InnoDB -  (220.1ms) CREATE INDEX `index_permissions_roles_on_permission_id` ON `permissions_roles` (`permission_id`) -Connecting to database specified by database.yml -  (1.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -Migrating to CreateRoles (20130618224052) -Migrating to RolesUsers (20130618224239) -Migrating to CreatePermissions (20130618232522) -Migrating to PermissionsRoles (20130619074955) -  (0.6ms) CREATE TABLE `permissions_roles` (`permission_id` int(11), `role_id` varchar(255)) ENGINE=InnoDB -Mysql2::Error: Table 'permissions_roles' already exists: CREATE TABLE `permissions_roles` (`permission_id` int(11), `role_id` varchar(255)) ENGINE=InnoDB -Connecting to database specified by database.yml -  (232.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB -  (242.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) -  (3.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  -Migrating to DeviseCreateUsers (20130618222432) -  (100.1ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (186.5ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`) -  (197.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`) -  (54.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618222432') -Migrating to CreateRoles (20130618224052) -  (108.9ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (54.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224052') -Migrating to RolesUsers (20130618224239) -  (109.7ms) CREATE TABLE `roles_users` (`role_id` int(11), `user_id` varchar(255)) ENGINE=InnoDB -  (197.9ms) CREATE INDEX `index_roles_users_on_role_id` ON `roles_users` (`role_id`) -  (197.8ms) CREATE INDEX `index_roles_users_on_user_id` ON `roles_users` (`user_id`) -  (54.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618224239') -Migrating to CreatePermissions (20130618232522) -  (98.2ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB -  (43.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130618232522') -Migrating to PermissionsRoles (20130619074955) -  (86.5ms) CREATE TABLE `permissions_roles` (`permission_id` int(11), `role_id` varchar(255)) ENGINE=InnoDB -  (42.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130619074955') -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml -Connecting to database specified by database.yml - - -Started GET "/assets/rails.png" for 127.0.0.1 at 2013-06-19 17:22:00 +0530 -Served asset /rails.png - 304 Not Modified (32ms) - - -Started GET "/" for 127.0.0.1 at 2013-06-19 17:22:14 +0530 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 7ms - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:22:15 +0530 -Processing by Devise::SessionsController#new as HTML - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/shared/_links.erb (1.6ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb within layouts/application (29.5ms) - Rendered layouts/_header.html.erb (43.1ms) -Completed 500 Internal Server Error in 189ms - -ActionView::Template::Error (undefined local variable or method `help_path' for #<#:0x00000004e7adc0>): - 5: - app/views/layouts/_header.html.erb:25:in `_app_views_layouts__header_html_erb__593181575349719438_70123227009460' - app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__3355239784092458717_70123328929780' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.2ms) - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:23:17 +0530 -Processing by Devise::SessionsController#new as HTML - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/shared/_links.erb (0.5ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) - Rendered layouts/_header.html.erb (22.8ms) -Completed 500 Internal Server Error in 32ms - -ActionView::Template::Error (undefined local variable or method `signin_path' for #<#:0x007f8dac199808>): - 22: - 23: - 24: <% else %> - 25:
  • <%= link_to "Sign in", signin_path %>
  • - 26: <% end %> - 27: - 28: - app/views/layouts/_header.html.erb:25:in `_app_views_layouts__header_html_erb__593181575349719438_70123227009460' - app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__3355239784092458717_70123328929780' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.5ms) - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:23:31 +0530 -Processing by Devise::SessionsController#new as HTML - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/shared/_links.erb (0.4ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) - Rendered layouts/_header.html.erb (1.0ms) - Rendered layouts/_footer.html.erb (0.4ms) -Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application.css" for 127.0.0.1 at 2013-06-19 17:23:31 +0530 -Compiled custom.css (1371ms) (pid 17344) -Compiled application.css (1379ms) (pid 17344) -Served asset /application.css - 200 OK (1407ms) - - -Started GET "/assets/application.js" for 127.0.0.1 at 2013-06-19 17:23:32 +0530 -Compiled jquery.js (2ms) (pid 17344) -Compiled jquery_ujs.js (0ms) (pid 17344) -Compiled application.js (65ms) (pid 17344) -Served asset /application.js - 200 OK (109ms) -Connecting to database specified by database.yml - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:28:15 +0530 -Processing by Devise::SessionsController#new as HTML - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/shared/_links.erb (0.4ms) - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) - Rendered layouts/_header.html.erb (1.2ms) - Rendered layouts/_footer.html.erb (0.1ms) -Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application.css" for 127.0.0.1 at 2013-06-19 17:28:15 +0530 -Served asset /application.css - 304 Not Modified (0ms) - - -Started POST "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:28:28 +0530 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "authenticity_token"=>"vOvKmiEO/y4UjVNbrPI+uZAXaXcVa+1Jzsrj/L28aQE=", "user"=>{"email"=>"shanil.puri@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} - User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'shanil.puri@gmail.com' LIMIT 1 -  (0.3ms) BEGIN -  (0.7ms) UPDATE `users` SET `last_sign_in_at` = '2013-06-19 11:58:28', `current_sign_in_at` = '2013-06-19 11:58:28', `last_sign_in_ip` = '127.0.0.1', `current_sign_in_ip` = '127.0.0.1', `sign_in_count` = 1, `updated_at` = '2013-06-19 11:58:28' WHERE `users`.`id` = 1 -  (59.6ms) COMMIT -Redirected to http://localhost:3000/ -Completed 302 Found in 250ms (ActiveRecord: 0.0ms) - - -Started GET "/" for 127.0.0.1 at 2013-06-19 17:28:28 +0530 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - Rendered text template (0.0ms) -Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.3ms) - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:48:26 +0530 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 -Redirected to http://localhost:3000/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:48:39 +0530 -Processing by Devise::SessionsController#new as HTML - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 -Redirected to http://localhost:3000/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 4ms (ActiveRecord: 0.3ms) - - -Started GET "/" for 127.0.0.1 at 2013-06-19 17:48:39 +0530 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - Rendered text template (0.0ms) -Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms) - - -Started GET "/users/sign_out" for 127.0.0.1 at 2013-06-19 17:48:42 +0530 - -ActionController::RoutingError (No route matches [GET] "/users/sign_out"): - actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' - railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' - activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' - rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' - rack (1.4.5) lib/rack/runtime.rb:17:in `call' - activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' - rack (1.4.5) lib/rack/lock.rb:15:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' - railties (3.2.13) lib/rails/engine.rb:479:in `call' - railties (3.2.13) lib/rails/application.rb:223:in `call' - rack (1.4.5) lib/rack/content_length.rb:14:in `call' - railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' - rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) - - -Started GET "/users/sign_in" for 127.0.0.1 at 2013-06-19 17:49:18 +0530 -Processing by Devise::SessionsController#new as HTML - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 -Redirected to http://localhost:3000/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) - - -Started GET "/" for 127.0.0.1 at 2013-06-19 17:49:18 +0530 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - Rendered text template (0.0ms) -Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) - - -Started GET "/users/sign_out" for 127.0.0.1 at 2013-06-19 17:49:28 +0530 - -ActionController::RoutingError (No route matches [GET] "/users/sign_out"): - actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' - railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' - activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' - rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' - rack (1.4.5) lib/rack/runtime.rb:17:in `call' - activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' - rack (1.4.5) lib/rack/lock.rb:15:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' - railties (3.2.13) lib/rails/engine.rb:479:in `call' - railties (3.2.13) lib/rails/application.rb:223:in `call' - rack (1.4.5) lib/rack/content_length.rb:14:in `call' - railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' - rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) - - -Started GET "/users/sign_out" for 127.0.0.1 at 2013-06-19 17:50:42 +0530 - -ActionController::RoutingError (No route matches [GET] "/users/sign_out"): - actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' - railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' - activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' - railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' - rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' - rack (1.4.5) lib/rack/runtime.rb:17:in `call' - activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' - rack (1.4.5) lib/rack/lock.rb:15:in `call' - actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' - railties (3.2.13) lib/rails/engine.rb:479:in `call' - railties (3.2.13) lib/rails/application.rb:223:in `call' - rack (1.4.5) lib/rack/content_length.rb:14:in `call' - railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' - rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' - /home/shanil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' - - - Rendered /home/shanil/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) - - -Started GET "/" for 127.0.0.1 at 2013-06-19 17:50:44 +0530 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - Rendered home/index.html.erb within layouts/application (0.7ms) - Rendered layouts/_header.html.erb (15.6ms) -Completed 500 Internal Server Error in 76ms - -ActionView::Template::Error (undefined method `user_path' for #<#:0x007f8dac32efd8>): - 13: Account - 14: - 15: