enju_export 0.1.1.pre4 → 0.1.1.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/export_files_controller.rb +1 -1
- data/app/models/export_file.rb +15 -0
- data/lib/enju_export/engine.rb +1 -1
- data/lib/enju_export/version.rb +1 -1
- data/spec/dummy/app/controllers/application_controller.rb +2 -19
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/config/initializers/devise.rb +2 -0
- data/spec/dummy/db/migrate/080_create_library_groups.rb +25 -0
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +11 -0
- data/spec/dummy/db/schema.rb +21 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +440 -230
- data/spec/dummy/tmp/cache/assets/test/sprockets/4d9b06948a2ac8edcb3296d391db46b5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8ce8cce74a1c4d65497a8177d7bf5b71 +0 -0
- data/spec/fixtures/library_groups.yml +33 -0
- data/spec/models/export_file_spec.rb +15 -0
- metadata +55 -30
- data/app/workers/patron_export_queue.rb +0 -7
- data/lib/generators/enju_export/setup/USAGE +0 -8
- data/lib/generators/enju_export/setup/setup_generator.rb +0 -12
- data/spec/dummy/app/models/role.rb +0 -47
- data/spec/dummy/app/models/user_has_role.rb +0 -4
data/spec/dummy/log/test.log
CHANGED
@@ -1,18 +1,147 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
1
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3
|
-
[1m[
|
4
|
-
[1m[
|
5
|
-
[1m[
|
6
|
-
[1m[
|
7
|
-
[1m[
|
2
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
+
Started GET "/export_files" for 127.0.0.1 at 2013-11-03 04:19:00 +0900
|
11
|
+
Processing by ExportFilesController#index as HTML
|
12
|
+
Completed 500 Internal Server Error in 1ms
|
13
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
20
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
30
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
31
|
+
Migrating to CreateLibraryGroups (80)
|
32
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33
|
+
[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
|
34
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
|
35
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "80"]]
|
36
|
+
[1m[35m (0.7ms)[0m commit transaction
|
37
|
+
Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
|
38
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "admin_networks" text
|
40
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100211105551"]]
|
41
|
+
[1m[35m (0.8ms)[0m commit transaction
|
42
|
+
Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL
|
45
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100222124420"]]
|
46
|
+
[1m[35m (0.7ms)[0m commit transaction
|
47
|
+
Migrating to AddPositionToLibraryGroup (20110115022329)
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "position" integer
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110115022329"]]
|
51
|
+
[1m[35m (0.7ms)[0m commit transaction
|
52
|
+
Migrating to AddUrlToLibraryGroup (20110222073537)
|
53
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
|
55
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110222073537"]]
|
56
|
+
[1m[35m (0.6ms)[0m commit transaction
|
57
|
+
Migrating to RemoveDsblFromLibraryGroup (20111020063828)
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[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/')
|
60
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
|
61
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "library_groups"
|
62
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "library_groups"[0m
|
63
|
+
[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/')
|
64
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
65
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
|
66
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "alibrary_groups"[0m
|
67
|
+
[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/')
|
68
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
|
69
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "library_groups"
|
70
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "library_groups"[0m
|
71
|
+
[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/')
|
72
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
73
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
|
74
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "alibrary_groups"[0m
|
75
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111020063828"]]
|
76
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
77
|
+
Migrating to CreateRoles (20111201121844)
|
78
|
+
[1m[35m (0.1ms)[0m begin transaction
|
79
|
+
[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
|
80
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201121844"]]
|
81
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
82
|
+
Migrating to CreateUsers (20111201155456)
|
83
|
+
[1m[35m (0.1ms)[0m begin transaction
|
84
|
+
[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
|
85
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155456"]]
|
86
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
87
|
+
Migrating to AddDeviseToUsers (20111201155513)
|
88
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
90
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
|
91
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
|
92
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
93
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
94
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
|
95
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
96
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
97
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
|
98
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
|
99
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "password_salt" varchar(255)[0m
|
100
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "confirmation_token" varchar(255)
|
101
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "confirmed_at" datetime[0m
|
102
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "confirmation_sent_at" datetime
|
103
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "unconfirmed_email" varchar(255)[0m
|
104
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
|
105
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "unlock_token" varchar(255)[0m
|
106
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "locked_at" datetime
|
107
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "authentication_token" varchar(255)[0m
|
108
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
109
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
110
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155513"]]
|
111
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
112
|
+
Migrating to CreateUserHasRoles (20111201163718)
|
113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
114
|
+
[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
|
115
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201163718"]]
|
116
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
117
|
+
Migrating to CreateExportFiles (20120610075759)
|
118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
119
|
+
[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
|
120
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120610075759"]]
|
121
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
122
|
+
Migrating to AddUserIdToExportFile (20120621224846)
|
123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
124
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "export_files" ADD "user_id" integer[0m
|
125
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_export_files_on_user_id" ON "export_files" ("user_id")
|
126
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20120621224846"]]
|
127
|
+
[1m[35m (0.6ms)[0m commit transaction
|
128
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
|
131
|
+
[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
|
132
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
133
|
+
[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
|
134
|
+
[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')
|
135
|
+
[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
|
136
|
+
[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')
|
8
137
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
9
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-
|
10
|
-
[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
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-
|
12
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-
|
13
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-
|
14
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-
|
15
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-
|
138
|
+
[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)
|
139
|
+
[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
|
140
|
+
[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)
|
141
|
+
[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
|
142
|
+
[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)
|
143
|
+
[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
|
144
|
+
[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)
|
16
145
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
17
146
|
[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)
|
18
147
|
[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
|
@@ -21,325 +150,406 @@ Connecting to database specified by database.yml
|
|
21
150
|
[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)
|
22
151
|
[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
|
23
152
|
[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)
|
24
|
-
[1m[36m (
|
153
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
25
154
|
[1m[35m (0.1ms)[0m begin transaction
|
26
155
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
27
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
28
|
-
[1m[36mSQL (
|
29
|
-
[paperclip] Saving attachments.
|
157
|
+
[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]]
|
30
158
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31
159
|
Processing by ExportFilesController#index as HTML
|
32
|
-
[1m[
|
33
|
-
[1m[
|
160
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
161
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
162
|
+
[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]]
|
163
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
164
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
165
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
166
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
167
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
168
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
169
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
170
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
171
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
172
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
173
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
174
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
175
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
34
176
|
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.2ms)
|
35
|
-
Completed 200 OK in
|
36
|
-
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
|
37
|
-
[1m[35m (
|
177
|
+
Completed 200 OK in 641ms (Views: 11.4ms | ActiveRecord: 6.9ms | Solr: 0.0ms)
|
178
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
179
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
38
180
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
-
[1m[35mUser Load (0.
|
181
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
40
182
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "
|
42
|
-
[
|
43
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
183
|
+
[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]]
|
184
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44
185
|
Processing by ExportFilesController#show as HTML
|
45
186
|
Parameters: {"id"=>"1"}
|
46
|
-
[1m[
|
47
|
-
[1m[36mUser Load (0.
|
48
|
-
[1m[
|
187
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
188
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
189
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
190
|
+
[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]]
|
191
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
192
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
193
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
194
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
195
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
49
196
|
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
50
|
-
Completed 200 OK in
|
197
|
+
Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
|
51
198
|
[1m[35m (0.5ms)[0m rollback transaction
|
52
199
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53
200
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
54
201
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
55
|
-
[1m[35mSQL (0.
|
56
|
-
[paperclip] Saving attachments.
|
202
|
+
[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]]
|
57
203
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
204
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
59
205
|
Processing by ExportFilesController#destroy as HTML
|
60
206
|
Parameters: {"id"=>"1"}
|
207
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
208
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
61
209
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
62
|
-
[1m[
|
63
|
-
[1m[
|
210
|
+
[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]]
|
211
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
212
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
213
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
214
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
215
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
64
216
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
65
217
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
66
|
-
[
|
67
|
-
[1m[
|
68
|
-
[paperclip] Deleting attachments.
|
69
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
218
|
+
[1m[35mSQL (0.9ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70
220
|
Redirected to http://test.host/export_files
|
71
|
-
Completed 302 Found in
|
72
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
73
|
-
[1m[36m (0.
|
221
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.7ms)
|
222
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
223
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
74
224
|
[1m[35m (0.0ms)[0m begin transaction
|
75
225
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76
226
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77
|
-
[1m[36mSQL (0.
|
78
|
-
[
|
79
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
227
|
+
[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]]
|
228
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
80
229
|
Processing by ExportFilesController#destroy as HTML
|
81
230
|
Parameters: {"id"=>"1"}
|
231
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
232
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
82
233
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
83
|
-
[1m[
|
84
|
-
[1m[
|
234
|
+
[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]]
|
235
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
236
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
237
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
238
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
239
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
85
240
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
86
|
-
[1m[36m (0.
|
87
|
-
[
|
88
|
-
[1m[
|
89
|
-
[paperclip] Deleting attachments.
|
90
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
242
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
91
244
|
Redirected to http://test.host/export_files
|
92
|
-
Completed 302 Found in
|
93
|
-
[1m[35m (0.
|
94
|
-
[1m[36m (0.
|
95
|
-
Started GET "/export_files" for 127.0.0.1 at 2013-03
|
245
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.1ms)
|
246
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
248
|
+
Started GET "/export_files" for 127.0.0.1 at 2013-11-03 04:19:23 +0900
|
96
249
|
Processing by ExportFilesController#index as HTML
|
250
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
97
251
|
Redirected to http://www.example.com/users/sign_in
|
98
|
-
Completed 302 Found in
|
99
|
-
[1m[
|
100
|
-
[1m[
|
101
|
-
[1m[
|
102
|
-
[1m[
|
103
|
-
[1m[
|
104
|
-
[1m[
|
105
|
-
[1m[
|
106
|
-
[1m[
|
107
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
108
|
-
[1m[
|
109
|
-
[1m[
|
110
|
-
[1m[
|
111
|
-
[1m[
|
112
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.
|
113
|
-
[1m[
|
114
|
-
[1m[
|
115
|
-
[1m[
|
252
|
+
Completed 302 Found in 34ms (ActiveRecord: 0.1ms)
|
253
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
255
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
256
|
+
[1m[35m (0.0ms)[0m begin transaction
|
257
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
259
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
260
|
+
[1m[35m (0.0ms)[0m begin transaction
|
261
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.6ms)
|
262
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
263
|
+
[1m[35m (0.1ms)[0m begin transaction
|
264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
266
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.1ms)
|
267
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
116
270
|
Connecting to database specified by database.yml
|
271
|
+
Creating scope :in_list. Overwriting existing method Shelf.in_list.
|
117
272
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
-
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "
|
119
|
-
[1m[36mFixture Insert (0.
|
120
|
-
[1m[35mFixture
|
121
|
-
[1m[36mFixture Insert (0.
|
122
|
-
[1m[35mFixture Insert (0.
|
273
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
|
274
|
+
[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
|
275
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "roles"
|
276
|
+
[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
|
277
|
+
[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')
|
278
|
+
[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
|
279
|
+
[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')
|
123
280
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
124
|
-
[1m[35mFixture Insert (0.
|
125
|
-
[1m[36mFixture Insert (0.
|
126
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '
|
127
|
-
[1m[36mFixture Insert (0.
|
128
|
-
[1m[35mFixture Insert (0.
|
129
|
-
[1m[36mFixture Insert (0.
|
130
|
-
[1m[35mFixture Insert (0.
|
131
|
-
[1m[36mFixture Delete (0.
|
281
|
+
[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)
|
282
|
+
[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
|
283
|
+
[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)
|
284
|
+
[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
|
285
|
+
[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)
|
286
|
+
[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
|
287
|
+
[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)
|
288
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
132
289
|
[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)
|
133
|
-
[1m[36mFixture Insert (0.
|
134
|
-
[1m[35mFixture Insert (0.
|
135
|
-
[1m[36mFixture Insert (0.
|
136
|
-
[1m[35mFixture Insert (0.
|
137
|
-
[1m[36mFixture Insert (0.
|
290
|
+
[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
|
291
|
+
[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)
|
292
|
+
[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
|
293
|
+
[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)
|
294
|
+
[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
|
138
295
|
[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)
|
139
|
-
[1m[36m (
|
140
|
-
[1m[35m (0.
|
141
|
-
[1m[36mUser Load (0.
|
142
|
-
[1m[35m (0.
|
143
|
-
[1m[36mSQL (
|
144
|
-
[
|
145
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
298
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
300
|
+
[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]]
|
301
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
146
302
|
Processing by ExportFilesController#index as HTML
|
147
|
-
[1m[
|
148
|
-
[1m[
|
149
|
-
|
150
|
-
|
151
|
-
[1m[
|
152
|
-
[1m[
|
153
|
-
[1m[
|
303
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
304
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
305
|
+
[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
|
306
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
307
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
308
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
309
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
310
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
311
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
312
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
313
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
314
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
315
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
316
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
317
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
318
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
319
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
320
|
+
Completed 200 OK in 72.3ms (Views: 10.4ms | ActiveRecord: 0.8ms | Solr: 0.0ms)
|
321
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
322
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
154
324
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
155
325
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
156
|
-
[1m[35mSQL (0.
|
157
|
-
[paperclip] Saving attachments.
|
326
|
+
[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]]
|
158
327
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159
328
|
Processing by ExportFilesController#show as HTML
|
160
329
|
Parameters: {"id"=>"1"}
|
161
|
-
[1m[
|
330
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
162
331
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
163
|
-
[1m[
|
332
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
333
|
+
[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
|
334
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
335
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
336
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
337
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
338
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
164
339
|
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
165
|
-
Completed 200 OK in
|
166
|
-
[1m[35m (0.
|
167
|
-
[1m[36m (0.
|
168
|
-
[1m[35mUser Load (0.
|
340
|
+
Completed 200 OK in 17.3ms (Views: 1.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
|
341
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
343
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
169
344
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
170
|
-
[1m[35mSQL (0.
|
171
|
-
[
|
172
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
345
|
+
[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]]
|
346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
173
347
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
174
348
|
Processing by ExportFilesController#destroy as HTML
|
175
349
|
Parameters: {"id"=>"1"}
|
350
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
351
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
176
352
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
177
|
-
[1m[
|
178
|
-
[1m[
|
353
|
+
[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
|
354
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
355
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
356
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
357
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
358
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
179
359
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
180
|
-
[1m[36m (0.
|
181
|
-
[
|
182
|
-
[1m[
|
183
|
-
[paperclip] Deleting attachments.
|
184
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
361
|
+
[1m[35mSQL (0.7ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
185
363
|
Redirected to http://test.host/export_files
|
186
|
-
Completed 302 Found in
|
187
|
-
[1m[35m (0.
|
364
|
+
Completed 302 Found in 15.1ms (ActiveRecord: 1.3ms)
|
365
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "export_files"
|
188
366
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
189
367
|
[1m[35m (0.0ms)[0m begin transaction
|
190
368
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
191
369
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
192
|
-
[1m[36mSQL (0.
|
193
|
-
[paperclip] Saving attachments.
|
370
|
+
[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]]
|
194
371
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
195
372
|
Processing by ExportFilesController#destroy as HTML
|
196
373
|
Parameters: {"id"=>"1"}
|
197
|
-
[1m[
|
198
|
-
[1m[35mUser Load (0.
|
199
|
-
[1m[
|
374
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
375
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
376
|
+
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
377
|
+
[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
|
378
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
379
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
380
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
381
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
382
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
200
383
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
201
384
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
|
-
[
|
203
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
204
|
-
[paperclip] Deleting attachments.
|
385
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
205
386
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
206
387
|
Redirected to http://test.host/export_files
|
207
|
-
Completed 302 Found in
|
208
|
-
[1m[35m (0.
|
388
|
+
Completed 302 Found in 13.3ms (ActiveRecord: 0.9ms)
|
389
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
209
390
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
210
|
-
Started GET "/export_files" for 127.0.0.1 at
|
391
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-02-09 12:09:45 +0900
|
211
392
|
Processing by ExportFilesController#index as HTML
|
393
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
212
394
|
Redirected to http://www.example.com/users/sign_in
|
213
|
-
Completed 302 Found in
|
214
|
-
[1m[
|
215
|
-
[1m[
|
216
|
-
[1m[
|
217
|
-
[1m[
|
218
|
-
[1m[
|
219
|
-
[1m[
|
220
|
-
[1m[
|
221
|
-
[1m[
|
222
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
223
|
-
[1m[
|
224
|
-
[1m[
|
225
|
-
[1m[
|
226
|
-
[1m[
|
227
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
228
|
-
[1m[
|
229
|
-
[1m[
|
230
|
-
[1m[
|
395
|
+
Completed 302 Found in 14.3ms (ActiveRecord: 0.1ms)
|
396
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
398
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
399
|
+
[1m[35m (0.0ms)[0m begin transaction
|
400
|
+
[1m[36m (12.3ms)[0m [1mrollback transaction[0m
|
401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
402
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
404
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (9.4ms)
|
405
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
407
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
409
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.2ms)
|
410
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
412
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
231
413
|
Connecting to database specified by database.yml
|
414
|
+
Creating scope :in_list. Overwriting existing method Shelf.in_list.
|
232
415
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
233
|
-
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "
|
234
|
-
[1m[36mFixture Insert (0.
|
235
|
-
[1m[35mFixture
|
236
|
-
[1m[36mFixture Insert (0.
|
237
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('
|
238
|
-
[1m[36mFixture
|
239
|
-
[1m[35mFixture Insert (0.
|
240
|
-
[1m[36mFixture
|
241
|
-
[1m[35mFixture Insert (0.
|
242
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (
|
243
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (
|
244
|
-
[1m[36mFixture Insert (0.
|
245
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (
|
416
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "library_groups"
|
417
|
+
[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
|
418
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "roles"
|
419
|
+
[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
|
420
|
+
[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')
|
421
|
+
[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
|
422
|
+
[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')
|
423
|
+
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
424
|
+
[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)
|
425
|
+
[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
|
426
|
+
[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)
|
427
|
+
[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
|
428
|
+
[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)
|
429
|
+
[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
|
430
|
+
[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)
|
246
431
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
247
|
-
[1m[35mFixture Insert (0.
|
248
|
-
[1m[36mFixture Insert (0.
|
249
|
-
[1m[35mFixture Insert (0.
|
250
|
-
[1m[36mFixture Insert (0.
|
251
|
-
[1m[35mFixture Insert (0.
|
252
|
-
[1m[36mFixture Insert (0.
|
253
|
-
[1m[35mFixture Insert (0.
|
254
|
-
[1m[36m (
|
255
|
-
[1m[35m (0.
|
256
|
-
[1m[36mUser Load (0.
|
257
|
-
[1m[35m (0.
|
258
|
-
[1m[36mSQL (
|
259
|
-
[
|
260
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
432
|
+
[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)
|
433
|
+
[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
|
434
|
+
[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)
|
435
|
+
[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
|
436
|
+
[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)
|
437
|
+
[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
|
438
|
+
[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)
|
439
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
441
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
442
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
443
|
+
[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]]
|
444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
261
445
|
Processing by ExportFilesController#index as HTML
|
262
|
-
[1m[
|
263
|
-
[1m[
|
446
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
447
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
448
|
+
[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
|
449
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
450
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
451
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
452
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
453
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
454
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
455
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
456
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
457
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
458
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
459
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
460
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
461
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
264
462
|
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
265
|
-
Completed 200 OK in
|
266
|
-
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
|
267
|
-
[1m[35m (0.
|
463
|
+
Completed 200 OK in 73.5ms (Views: 14.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
|
464
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
465
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
268
466
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
269
467
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
270
468
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
271
|
-
[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",
|
272
|
-
[paperclip] Saving attachments.
|
469
|
+
[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]]
|
273
470
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
274
471
|
Processing by ExportFilesController#show as HTML
|
275
472
|
Parameters: {"id"=>"1"}
|
276
|
-
[1m[
|
473
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
277
474
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
278
|
-
[1m[
|
475
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
476
|
+
[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
|
477
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
478
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
479
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
480
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
481
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
279
482
|
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
280
|
-
Completed 200 OK in
|
281
|
-
[1m[35m (0.
|
282
|
-
[1m[36m (0.
|
483
|
+
Completed 200 OK in 17.5ms (Views: 4.7ms | ActiveRecord: 0.5ms | Solr: 0.0ms)
|
484
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
283
486
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
284
487
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
285
|
-
[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",
|
286
|
-
[paperclip] Saving attachments.
|
488
|
+
[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]]
|
287
489
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
288
490
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
289
491
|
Processing by ExportFilesController#destroy as HTML
|
290
492
|
Parameters: {"id"=>"1"}
|
291
|
-
[1m[
|
493
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
292
494
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
293
|
-
[1m[
|
495
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
496
|
+
[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
|
497
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
498
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
499
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
500
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
501
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
294
502
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
295
503
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296
|
-
[
|
297
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
298
|
-
[paperclip] Deleting attachments.
|
504
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
299
505
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
300
506
|
Redirected to http://test.host/export_files
|
301
|
-
Completed 302 Found in
|
507
|
+
Completed 302 Found in 13.5ms (ActiveRecord: 1.6ms)
|
302
508
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "export_files"
|
303
|
-
[1m[36m (0.
|
509
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
304
510
|
[1m[35m (0.0ms)[0m begin transaction
|
305
511
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
306
512
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
307
|
-
[1m[36mSQL (0.
|
308
|
-
[paperclip] Saving attachments.
|
513
|
+
[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]]
|
309
514
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
310
515
|
Processing by ExportFilesController#destroy as HTML
|
311
516
|
Parameters: {"id"=>"1"}
|
312
|
-
[1m[
|
517
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
313
518
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
314
|
-
[1m[
|
519
|
+
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
520
|
+
[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
|
521
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
522
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
523
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
524
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
525
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
315
526
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
316
527
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
317
|
-
[
|
318
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
319
|
-
[paperclip] Deleting attachments.
|
528
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
320
529
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
321
530
|
Redirected to http://test.host/export_files
|
322
|
-
Completed 302 Found in
|
323
|
-
[1m[35m (0.
|
531
|
+
Completed 302 Found in 12.1ms (ActiveRecord: 0.7ms)
|
532
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
324
533
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
325
|
-
Started GET "/export_files" for 127.0.0.1 at
|
534
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-02-09 15:32:41 +0900
|
326
535
|
Processing by ExportFilesController#index as HTML
|
536
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
327
537
|
Redirected to http://www.example.com/users/sign_in
|
328
|
-
Completed 302 Found in
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[
|
333
|
-
[1m[
|
334
|
-
[1m[
|
335
|
-
[1m[
|
336
|
-
[1m[
|
337
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
338
|
-
[1m[
|
339
|
-
[1m[
|
340
|
-
[1m[
|
341
|
-
[1m[
|
342
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
343
|
-
[1m[
|
344
|
-
[1m[
|
345
|
-
[1m[
|
538
|
+
Completed 302 Found in 13.9ms (ActiveRecord: 0.1ms)
|
539
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
540
|
+
[1m[35m (0.0ms)[0m begin transaction
|
541
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
543
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
545
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
547
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (13.0ms)
|
548
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
550
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
552
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (4.9ms)
|
553
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
554
|
+
[1m[35m (0.0ms)[0m begin transaction
|
555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|