spec/dummy/log/test.log in enju_export-0.1.1.pre4 vs spec/dummy/log/test.log in enju_export-0.1.1.pre5
- old
+ new
@@ -1,345 +1,555 @@
-Connecting to database specified by database.yml
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')[0m
- [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Started GET "/export_files" for 127.0.0.1 at 2013-11-03 04:19:00 +0900
+Processing by ExportFilesController#index as HTML
+Completed 500 Internal Server Error in 1ms
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateLibraryGroups (80)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "use_dsbl" boolean DEFAULT 'f' NOT NULL, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "80"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "admin_networks" text
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100211105551"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100222124420"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to AddPositionToLibraryGroup (20110115022329)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "position" integer
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110115022329"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to AddUrlToLibraryGroup (20110222073537)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110222073537"]]
+ [1m[35m (0.6ms)[0m commit transaction
+Migrating to RemoveDsblFromLibraryGroup (20111020063828)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.7ms)[0m CREATE TEMPORARY TABLE "alibrary_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "use_dsbl" boolean DEFAULT 'f' NOT NULL, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "library_groups"
+ [1m[36m (0.2ms)[0m [1mDROP TABLE "library_groups"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
+ [1m[36m (0.3ms)[0m [1mDROP TABLE "alibrary_groups"[0m
+ [1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "alibrary_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "library_groups"
+ [1m[36m (0.3ms)[0m [1mDROP TABLE "library_groups"[0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "alibrary_groups"[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111020063828"]]
+ [1m[36m (1.1ms)[0m [1mcommit transaction[0m
+Migrating to CreateRoles (20111201121844)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201121844"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreateUsers (20111201155456)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155456"]]
+ [1m[36m (0.6ms)[0m [1mcommit transaction[0m
+Migrating to AddDeviseToUsers (20111201155513)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "password_salt" varchar(255)[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "confirmation_token" varchar(255)
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "confirmed_at" datetime[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "confirmation_sent_at" datetime
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "unconfirmed_email" varchar(255)[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "unlock_token" varchar(255)[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "locked_at" datetime
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "authentication_token" varchar(255)[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
+ [1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155513"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreateUserHasRoles (20111201163718)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201163718"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreateExportFiles (20120610075759)
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "export_file_name" varchar(255), "export_content_type" varchar(255), "export_file_size" varchar(255), "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120610075759"]]
+ [1m[36m (0.8ms)[0m [1mcommit transaction[0m
+Migrating to AddUserIdToExportFile (20120621224846)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "export_files" ADD "user_id" integer[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_export_files_on_user_id" ON "export_files" ("user_id")
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20120621224846"]]
+ [1m[35m (0.6ms)[0m commit transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'enju_library', 'en: Enju Library', 'enju', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2013-11-02 19:19:22', '2013-11-02 19:19:22')[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-11-02 19:19:22', '2013-11-02 19:19:22')[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-11-02 19:19:22', '2013-11-02 19:19:22')
+ [1m[36mFixture Insert (48.8ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-11-02 19:19:22', '2013-11-02 19:19:22')[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-11-02 19:19:22', '2013-11-02 19:19:22')
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 135138680)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 344583537)[0m
- [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 206669143)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 226540757)[0m
- [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 358143215)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 576709754)[0m
- [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 1010528733)
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 135138680)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 344583537)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 206669143)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 226540757)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 358143215)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 576709754)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-11-02 19:19:22', '2013-11-02 19:19:22', 1010528733)
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36m (6.5ms)[0m [1mcommit transaction[0m
+ [1m[36m (2.5ms)[0m [1mcommit transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (2.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (1.8ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 02 Nov 2013 19:19:22 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 02 Nov 2013 19:19:22 UTC +00:00]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#index as HTML
- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.2ms)[0m 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
+ [1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+ [1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = ? ORDER BY roles.position LIMIT 1[0m [["user_id", 1]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.2ms)
-Completed 200 OK in 98ms (Views: 18.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
- [1m[35m (0.4ms)[0m rollback transaction
+Completed 200 OK in 641ms (Views: 11.4ms | ActiveRecord: 6.9ms | Solr: 0.0ms)
+ [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
+ [1m[35m (1.8ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by ExportFilesController#show as HTML
Parameters: {"id"=>"1"}
- [1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.1ms)[0m 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
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = ? ORDER BY roles.position LIMIT 1[0m [["user_id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
-Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
+Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
[1m[35m (0.5ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = ? ORDER BY roles.position LIMIT 1 [["user_id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
- [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+Completed 302 Found in 15ms (ActiveRecord: 1.7ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 02 Nov 2013 19:19:23 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.1ms)[0m [1mSELECT "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[0m
+ [1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = ? ORDER BY roles.position LIMIT 1 [["user_id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
- [1m[35m (0.6ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
-Started GET "/export_files" for 127.0.0.1 at 2013-03-13 12:00:13 +0900
+Completed 302 Found in 13ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Started GET "/export_files" for 127.0.0.1 at 2013-11-03 04:19:23 +0900
Processing by ExportFilesController#index as HTML
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
Redirected to http://www.example.com/users/sign_in
-Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (127.3ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.8ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+Completed 302 Found in 34ms (ActiveRecord: 0.1ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.6ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.1ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
Connecting to database specified by database.yml
+Creating scope :in_list. Overwriting existing method Shelf.in_list.
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'enju_library', 'en: Enju Library', 'enju', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2014-02-09 03:09:45', '2014-02-09 03:09:45')[0m
+ [1m[35mFixture Delete (0.0ms)[0m DELETE FROM "roles"
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-02-09 03:09:45', '2014-02-09 03:09:45')[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-02-09 03:09:45', '2014-02-09 03:09:45')
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-02-09 03:09:45', '2014-02-09 03:09:45')[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-02-09 03:09:45', '2014-02-09 03:09:45')
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 135138680)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 344583537)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 206669143)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 226540757)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 358143215)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 576709754)[0m
- [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 1010528733)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 135138680)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 344583537)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 206669143)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 226540757)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 358143215)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 576709754)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-02-09 03:09:45', '2014-02-09 03:09:45', 1010528733)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
[1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36m (8.2ms)[0m [1mcommit transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (5.3ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["user_id", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#index as HTML
- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.3ms)[0m 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.4ms)
-Completed 200 OK in 69ms (Views: 12.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
- [1m[35m (0.4ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mRole Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
+Completed 200 OK in 72.3ms (Views: 10.4ms | ActiveRecord: 0.8ms | Solr: 0.0ms)
+ [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["user_id", nil]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by ExportFilesController#show as HTML
Parameters: {"id"=>"1"}
- [1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.1ms)[0m 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
+ [1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36mRole Load (0.1ms)[0m [1mSELECT "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[0m
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
- [1m[35m (0.4ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+Completed 200 OK in 17.3ms (Views: 1.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["user_id", nil]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35mRole Load (0.1ms)[0m 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
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
+Completed 302 Found in 15.1ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "export_files"
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 03:09:45 UTC +00:00], ["user_id", nil]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mRole Load (0.1ms)[0m 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
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
- [1m[35m (0.5ms)[0m rollback transaction
+Completed 302 Found in 13.3ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.4ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
-Started GET "/export_files" for 127.0.0.1 at 2013-03-16 14:44:40 +0900
+Started GET "/export_files" for 127.0.0.1 at 2014-02-09 12:09:45 +0900
Processing by ExportFilesController#index as HTML
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
Redirected to http://www.example.com/users/sign_in
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (136.8ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (54.0ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+Completed 302 Found in 14.3ms (ActiveRecord: 0.1ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (12.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (9.4ms)
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.2ms)
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
Connecting to database specified by database.yml
+Creating scope :in_list. Overwriting existing method Shelf.in_list.
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
- [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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')[0m
- [1m[35mFixture Insert (0.1ms)[0m 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')
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
- [1m[35mFixture Insert (0.1ms)[0m 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')
- [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.0ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'enju_library', 'en: Enju Library', 'enju', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2014-02-09 06:32:41', '2014-02-09 06:32:41')[0m
+ [1m[35mFixture Delete (0.0ms)[0m DELETE FROM "roles"
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-02-09 06:32:41', '2014-02-09 06:32:41')[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-02-09 06:32:41', '2014-02-09 06:32:41')
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-02-09 06:32:41', '2014-02-09 06:32:41')[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-02-09 06:32:41', '2014-02-09 06:32:41')
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "user_has_roles"[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 135138680)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 344583537)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 206669143)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 226540757)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 358143215)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 576709754)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-02-09 06:32:41', '2014-02-09 06:32:41', 1010528733)
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
- [1m[35mFixture Insert (0.1ms)[0m 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)
- [1m[36m (5.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.7ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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)[0m
+ [1m[35mFixture Insert (0.0ms)[0m 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)
+ [1m[36m (4.6ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["user_id", nil]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#index as HTML
- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.2ms)[0m 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
+ [1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mRole Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 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)
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
- [1m[35m (0.5ms)[0m rollback transaction
+Completed 200 OK in 73.5ms (Views: 14.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
+ [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
+ [1m[35m (0.4ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m 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.
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["user_id", nil]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by ExportFilesController#show as HTML
Parameters: {"id"=>"1"}
- [1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
- [1m[35mRole Load (0.1ms)[0m 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
+ [1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36mRole Load (0.1ms)[0m [1mSELECT "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[0m
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
-Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
- [1m[35m (0.5ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 200 OK in 17.5ms (Views: 4.7ms | ActiveRecord: 0.5ms | Solr: 0.0ms)
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m 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.
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["user_id", nil]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.1ms)[0m [1mSELECT "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[0m
+ [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mRole Load (0.1ms)[0m 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
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
+ [1m[35mSQL (1.0ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
+Completed 302 Found in 13.5ms (ActiveRecord: 1.6ms)
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "export_files"
- [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
[1m[35m (0.0ms)[0m begin transaction
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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.
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sun, 09 Feb 2014 06:32:41 UTC +00:00], ["user_id", nil]]
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by ExportFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- [1m[36mRole Load (0.1ms)[0m [1mSELECT "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[0m
+ [1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mRole Load (0.1ms)[0m 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
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/export_files
-Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
- [1m[35m (0.4ms)[0m rollback transaction
+Completed 302 Found in 12.1ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m rollback transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
-Started GET "/export_files" for 127.0.0.1 at 2013-04-17 10:45:49 +0900
+Started GET "/export_files" for 127.0.0.1 at 2014-02-09 15:32:41 +0900
Processing by ExportFilesController#index as HTML
+ [1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
Redirected to http://www.example.com/users/sign_in
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.0ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.3ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.6ms)
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.0ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+Completed 302 Found in 13.9ms (ActiveRecord: 0.1ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (13.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (4.9ms)
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m