spec/dummy/log/test.log in enju_export-0.1.1.pre3 vs spec/dummy/log/test.log in enju_export-0.1.1.pre4

- old
+ new

@@ -226,5 +226,120 @@  (0.1ms) begin transaction Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (54.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction +Connecting to database specified by database.yml +  (0.1ms) begin transaction + Fixture Delete (0.3ms) DELETE FROM "roles" + Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49') + Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49') + Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49') + Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49') + Fixture Delete (0.1ms) DELETE FROM "user_has_roles" + Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 135138680) + Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 344583537) + Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 206669143) + Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 226540757) + Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 358143215) + Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 576709754) + Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 1010528733) + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) + Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) +  (5.1ms) commit transaction +  (0.1ms) begin transaction + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.7ms) INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]] +[paperclip] Saving attachments. +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by ExportFilesController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1 + Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms) +Completed 200 OK in 91ms (Views: 12.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) + ExportFile Load (0.1ms) SELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]] +[paperclip] Saving attachments. +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by ExportFilesController#show as HTML + Parameters: {"id"=>"1"} + ExportFile Load (0.2ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1 + ExportFile Load (0.0ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] +Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]] +[paperclip] Saving attachments. +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "export_files" +Processing by ExportFilesController#destroy as HTML + Parameters: {"id"=>"1"} + ExportFile Load (0.1ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1 + ExportFile Load (0.0ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 +[paperclip] Scheduling attachments for deletion. + SQL (0.4ms) DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]] +[paperclip] Deleting attachments. +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/export_files +Completed 302 Found in 10ms (ActiveRecord: 0.8ms) +  (0.0ms) SELECT COUNT(*) FROM "export_files" +  (0.5ms) rollback transaction +  (0.0ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]] +[paperclip] Saving attachments. +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by ExportFilesController#destroy as HTML + Parameters: {"id"=>"1"} + ExportFile Load (0.1ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1 + ExportFile Load (0.0ms) SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]] +  (0.0ms) SAVEPOINT active_record_1 +[paperclip] Scheduling attachments for deletion. + SQL (0.3ms) DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]] +[paperclip] Deleting attachments. +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/export_files +Completed 302 Found in 9ms (ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +Started GET "/export_files" for 127.0.0.1 at 2013-04-17 10:45:49 +0900 +Processing by ExportFilesController#index as HTML +Redirected to http://www.example.com/users/sign_in +Completed 302 Found in 8ms (ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction + Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.3ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction + Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.6ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction