enju_export 0.1.1.pre5 → 0.1.1.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enju_export/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +9 -0
- data/spec/dummy/log/test.log +1003 -328
- data/spec/dummy/tmp/cache/assets/test/sprockets/0e5bae7f2cca65d5a71d260abe5e17b9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/17456f2467f327653ff37aaa7e913cbe +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/19977574e1b16ed2af4918df75e69af4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/39d25b7b136c6b874f2e1602e77d3153 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3df92b570eee8680b1cb24989240ed3c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4ea09b02ec3cc7ededc93a8cb17d5600 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/60e8c83b201847a988b5a4d272a65064 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/67bfcd963ffe0c393659cbd69c2bed95 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9481471c18e7b281b1f738fa4b2b521f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b53f641bf088e358127a0e3d702d16bd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d685faded1f75f2aa71121f5292ceac9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e24f704ac2faf8a8cf78855c510ca88d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ef14c635942425b39d22f8040bd33ed8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f56af9ad555c7d6213c384772e8244c2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7662d4c598d59274945e949df0a4135 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fc5918d519309bc6bfe32f64bfc542b4 +0 -0
- metadata +48 -28
- data/spec/dummy/app/views/page/403.html.erb +0 -9
- data/spec/dummy/app/views/page/403.mobile.erb +0 -5
- data/spec/dummy/app/views/page/403.xml.erb +0 -4
- data/spec/dummy/app/views/page/404.html.erb +0 -9
- data/spec/dummy/app/views/page/404.mobile.erb +0 -5
- data/spec/dummy/app/views/page/404.xml.erb +0 -4
- data/spec/dummy/tmp/cache/assets/test/sprockets/4d9b06948a2ac8edcb3296d391db46b5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8ce8cce74a1c4d65497a8177d7bf5b71 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 273c420b4d435f2c01011e3e81150731e0b39652
|
4
|
+
data.tar.gz: c888fd43cf8ad828cb49e693abe3df139730170e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b27bebeaf6bc37b08cb0818c5b2cc3566c6725025a8ad674baee4ab21f3d115f17594821ccc4fc3403ecd7309239703633e9e9b02d7da7540fd508395dadabd9
|
7
|
+
data.tar.gz: 6f95d78e597ce22699aee531273d1f000dcd50efadae91e86dacf7b4b7ef775e99c2adbaf3df1c6b7344988c3f4b4f9719880d60c2668f09d0f89aafd2a65a07
|
data/lib/enju_export/version.rb
CHANGED
File without changes
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
DEPRECATION WARNING: The `Validator#setup` instance method is deprecated and will be removed on Rails 4.2. Do your setup in the constructor instead:
|
2
|
+
|
3
|
+
class MyValidator < ActiveModel::Validator
|
4
|
+
def initialize(options={})
|
5
|
+
super
|
6
|
+
options[:class].send :attr_accessor, :custom_attribute
|
7
|
+
end
|
8
|
+
end
|
9
|
+
. (called from enju_leaf_user_model at /Users/kosuke/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/enju_leaf-ee171fc2683e/lib/enju_leaf/user.rb:36)
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
-
[1m[35m (0.
|
2
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3
3
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4
4
|
[1m[35m (0.0ms)[0m rollback transaction
|
5
5
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -7,14 +7,16 @@
|
|
7
7
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
8
|
[1m[35m (0.0ms)[0m rollback transaction
|
9
9
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
-
Started GET "/export_files" for 127.0.0.1 at
|
10
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-01-16 20:03:04 +0900
|
11
11
|
Processing by ExportFilesController#index as HTML
|
12
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
13
|
[1m[35m (0.0ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16
16
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
17
|
[1m[35m (0.0ms)[0m rollback transaction
|
18
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
18
20
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
21
|
[1m[35m (0.0ms)[0m rollback transaction
|
20
22
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -23,125 +25,123 @@ Completed 500 Internal Server Error in 1ms
|
|
23
25
|
[1m[35m (0.0ms)[0m rollback transaction
|
24
26
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25
27
|
[1m[35m (0.0ms)[0m rollback transaction
|
26
|
-
[1m[36m (
|
27
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
28
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
28
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29
29
|
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
30
30
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
31
31
|
Migrating to CreateLibraryGroups (80)
|
32
32
|
[1m[35m (0.1ms)[0m begin transaction
|
33
|
-
[1m[36m (0.
|
33
|
+
[1m[36m (0.4ms)[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
34
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
|
35
|
-
[1m[36mSQL (0.
|
36
|
-
[1m[35m (0.
|
35
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "80"]]
|
36
|
+
[1m[35m (0.6ms)[0m commit transaction
|
37
37
|
Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
|
38
38
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
39
|
[1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "admin_networks" text
|
40
40
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100211105551"]]
|
41
|
-
[1m[35m (0.
|
41
|
+
[1m[35m (0.5ms)[0m commit transaction
|
42
42
|
Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
|
43
43
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
-
[1m[35m (0.
|
44
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL
|
45
45
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20100222124420"]]
|
46
|
-
[1m[35m (0.
|
46
|
+
[1m[35m (0.5ms)[0m commit transaction
|
47
47
|
Migrating to AddPositionToLibraryGroup (20110115022329)
|
48
|
-
[1m[36m (0.
|
49
|
-
[1m[35m (0.
|
48
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "position" integer
|
50
50
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110115022329"]]
|
51
|
-
[1m[35m (0.
|
51
|
+
[1m[35m (0.5ms)[0m commit transaction
|
52
52
|
Migrating to AddUrlToLibraryGroup (20110222073537)
|
53
|
-
[1m[36m (0.
|
54
|
-
[1m[35m (0.
|
53
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
|
55
55
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20110222073537"]]
|
56
|
-
[1m[35m (0.
|
56
|
+
[1m[35m (0.5ms)[0m commit transaction
|
57
57
|
Migrating to RemoveDsblFromLibraryGroup (20111020063828)
|
58
|
-
[1m[36m (0.
|
59
|
-
[1m[35m (
|
58
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (1.0ms)[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
60
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
|
61
|
-
[1m[35m (0.
|
62
|
-
[1m[36m (0.
|
63
|
-
[1m[35m (0.
|
61
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "library_groups"
|
62
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "library_groups"[0m
|
63
|
+
[1m[35m (0.2ms)[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
64
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
65
65
|
[1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
|
66
|
-
[1m[36m (0.
|
67
|
-
[1m[35m (0.
|
66
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "alibrary_groups"[0m
|
67
|
+
[1m[35m (0.3ms)[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
68
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_alibrary_groups_on_short_name" ON "alibrary_groups" ("short_name")[0m
|
69
69
|
[1m[35m (0.1ms)[0m SELECT * FROM "library_groups"
|
70
70
|
[1m[36m (0.3ms)[0m [1mDROP TABLE "library_groups"[0m
|
71
|
-
[1m[35m (0.
|
72
|
-
[1m[36m (0.
|
71
|
+
[1m[35m (0.2ms)[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.2ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
73
73
|
[1m[35m (0.1ms)[0m SELECT * FROM "alibrary_groups"
|
74
|
-
[1m[36m (0.
|
75
|
-
[1m[35mSQL (0.
|
76
|
-
[1m[36m (
|
74
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "alibrary_groups"[0m
|
75
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111020063828"]]
|
76
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
77
77
|
Migrating to CreateRoles (20111201121844)
|
78
|
-
[1m[35m (0.
|
79
|
-
[1m[36m (0.
|
78
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79
|
+
[1m[36m (0.2ms)[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
80
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201121844"]]
|
81
|
-
[1m[36m (0.
|
81
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
82
82
|
Migrating to CreateUsers (20111201155456)
|
83
83
|
[1m[35m (0.1ms)[0m begin transaction
|
84
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.
|
85
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155456"]]
|
86
86
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
87
87
|
Migrating to AddDeviseToUsers (20111201155513)
|
88
|
-
[1m[35m (0.
|
88
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89
89
|
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
90
90
|
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
|
91
91
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
|
92
|
-
[1m[35m (0.
|
93
|
-
[1m[36m (0.
|
94
|
-
[1m[35m (0.
|
95
|
-
[1m[36m (0.
|
96
|
-
[1m[35m (0.
|
97
|
-
[1m[36m (0.
|
98
|
-
[1m[35m (0.
|
99
|
-
[1m[36m (0.
|
100
|
-
[1m[35m (0.
|
101
|
-
[1m[36m (0.
|
102
|
-
[1m[35m (0.
|
103
|
-
[1m[36m (0.
|
104
|
-
[1m[35m (0.
|
105
|
-
[1m[36m (0.
|
106
|
-
[1m[35m (0.
|
107
|
-
[1m[36m (0.
|
92
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
93
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
94
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
|
95
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
96
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
97
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
|
98
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
|
99
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "password_salt" varchar(255)[0m
|
100
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "confirmation_token" varchar(255)
|
101
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "confirmed_at" datetime[0m
|
102
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "confirmation_sent_at" datetime
|
103
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "unconfirmed_email" varchar(255)[0m
|
104
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
|
105
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "unlock_token" varchar(255)[0m
|
106
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "locked_at" datetime
|
107
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "authentication_token" varchar(255)[0m
|
108
108
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
109
109
|
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
110
110
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201155513"]]
|
111
|
-
[1m[36m (0.
|
111
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
112
112
|
Migrating to CreateUserHasRoles (20111201163718)
|
113
113
|
[1m[35m (0.1ms)[0m begin transaction
|
114
|
-
[1m[36m (0.
|
115
|
-
[1m[35mSQL (0.
|
116
|
-
[1m[36m (0.
|
114
|
+
[1m[36m (0.3ms)[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.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20111201163718"]]
|
116
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
117
117
|
Migrating to CreateExportFiles (20120610075759)
|
118
|
-
[1m[35m (0.
|
119
|
-
[1m[36m (0.
|
118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
119
|
+
[1m[36m (0.3ms)[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
120
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120610075759"]]
|
121
|
-
[1m[36m (0.
|
121
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
122
122
|
Migrating to AddUserIdToExportFile (20120621224846)
|
123
123
|
[1m[35m (0.1ms)[0m begin transaction
|
124
|
-
[1m[36m (0.
|
125
|
-
[1m[35m (0.
|
126
|
-
[1m[36mSQL (0.
|
124
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "export_files" ADD "user_id" integer[0m
|
125
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_export_files_on_user_id" ON "export_files" ("user_id")
|
126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20120621224846"]]
|
127
127
|
[1m[35m (0.6ms)[0m commit transaction
|
128
128
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
129
129
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
-
[1m[35mFixture Delete (0.
|
131
|
-
[1m[36mFixture Insert (0.
|
130
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "library_groups"
|
131
|
+
[1m[36mFixture Insert (0.2ms)[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-01-16 11:05:29', '2014-01-16 11:05:29')[0m
|
132
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, '
|
134
|
-
[1m[35mFixture Insert (0.
|
135
|
-
[1m[36mFixture Insert (
|
136
|
-
[1m[35mFixture Insert (0.
|
133
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-01-16 11:05:29', '2014-01-16 11:05:29')[0m
|
134
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-01-16 11:05:29', '2014-01-16 11:05:29')
|
135
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-01-16 11:05:29', '2014-01-16 11:05:29')[0m
|
136
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-01-16 11:05:29', '2014-01-16 11:05:29')
|
137
137
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
138
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '
|
139
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '
|
140
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '
|
141
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '
|
142
|
-
[1m[35mFixture Insert (0.
|
143
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '
|
144
|
-
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '
|
138
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 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, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 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, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 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, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 226540757)[0m
|
142
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 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, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 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, '2014-01-16 11:05:29', '2014-01-16 11:05:29', 1010528733)
|
145
145
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
146
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)
|
147
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
|
@@ -150,16 +150,18 @@ Migrating to AddUserIdToExportFile (20120621224846)
|
|
150
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)
|
151
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
|
152
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)
|
153
|
-
[1m[36m (
|
153
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
154
154
|
[1m[35m (0.1ms)[0m begin transaction
|
155
155
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
156
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
157
|
-
[1m[36mSQL (
|
157
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00], ["state", "pending"], ["updated_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00]]
|
158
158
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
159
159
|
Processing by ExportFilesController#index as HTML
|
160
|
-
[1m[36mLibraryGroup Load (0.
|
160
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
161
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.
|
162
|
+
[1m[36mRole Load (0.3ms)[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.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
163
165
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
164
166
|
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
165
167
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
@@ -170,42 +172,44 @@ Processing by ExportFilesController#index as HTML
|
|
170
172
|
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
171
173
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
172
174
|
[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.
|
174
|
-
[1m[36mLibraryGroup Load (0.
|
175
|
-
[1m[35mLibraryGroup Load (0.
|
176
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.
|
177
|
-
Completed 200 OK in
|
178
|
-
[1m[36mExportFile Load (0.
|
179
|
-
[1m[35m (
|
175
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
176
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
177
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
178
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.4ms)
|
179
|
+
Completed 200 OK in 530ms (Views: 16.9ms | ActiveRecord: 8.6ms | Solr: 0.0ms)
|
180
|
+
[1m[36mExportFile Load (0.2ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
181
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
180
182
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
181
183
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
182
184
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
183
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at",
|
185
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00], ["state", "pending"], ["updated_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00]]
|
184
186
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
185
187
|
Processing by ExportFilesController#show as HTML
|
186
188
|
Parameters: {"id"=>"1"}
|
187
189
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
188
190
|
[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.
|
190
|
-
[1m[36mRole Load (0.
|
191
|
-
[1m[35mLibraryGroup Load (0.
|
192
|
-
[1m[36mLibraryGroup Load (0.
|
191
|
+
[1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
192
|
+
[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]]
|
193
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
194
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
195
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
196
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
193
197
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
194
198
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
195
199
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
196
|
-
[1m[36mExportFile Load (0.
|
197
|
-
Completed 200 OK in
|
198
|
-
[1m[35m (0.
|
200
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
201
|
+
Completed 200 OK in 22ms (Views: 2.8ms | ActiveRecord: 1.2ms | Solr: 0.0ms)
|
202
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
199
203
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
-
[1m[35mUser Load (0.
|
201
|
-
[1m[36m (0.
|
202
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at",
|
204
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
206
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00], ["state", "pending"], ["updated_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00]]
|
203
207
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
204
208
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
205
209
|
Processing by ExportFilesController#destroy as HTML
|
206
210
|
Parameters: {"id"=>"1"}
|
207
211
|
[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.
|
212
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
209
213
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
210
214
|
[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
215
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
@@ -213,329 +217,494 @@ Processing by ExportFilesController#destroy as HTML
|
|
213
217
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
214
218
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
215
219
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
220
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
221
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
216
222
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
217
|
-
[1m[36m (0.
|
218
|
-
[1m[35mSQL (
|
223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
224
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
219
225
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
220
226
|
Redirected to http://test.host/export_files
|
221
|
-
Completed 302 Found in
|
227
|
+
Completed 302 Found in 19ms (ActiveRecord: 1.8ms)
|
222
228
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
223
229
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
224
230
|
[1m[35m (0.0ms)[0m begin transaction
|
225
231
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
226
232
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
227
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at",
|
233
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00], ["state", "pending"], ["updated_at", Thu, 16 Jan 2014 11:05:29 UTC +00:00]]
|
228
234
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
229
235
|
Processing by ExportFilesController#destroy as HTML
|
230
236
|
Parameters: {"id"=>"1"}
|
231
237
|
[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.
|
238
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
233
239
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
234
|
-
[1m[35mRole Load (0.
|
235
|
-
[1m[36mLibraryGroup Load (0.
|
240
|
+
[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" = ? ORDER BY roles.position LIMIT 1 [["user_id", 1]]
|
241
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
242
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
243
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
236
244
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
237
245
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
238
246
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
239
247
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
240
248
|
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
241
|
-
[1m[36m (0.
|
242
|
-
[1m[35mSQL (0.
|
243
|
-
[1m[36m (0.
|
249
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
250
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
244
252
|
Redirected to http://test.host/export_files
|
245
|
-
Completed 302 Found in
|
246
|
-
[1m[35m (0.
|
247
|
-
[1m[36m (0.
|
248
|
-
Started GET "/export_files" for 127.0.0.1 at
|
253
|
+
Completed 302 Found in 20ms (ActiveRecord: 1.3ms)
|
254
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
256
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-01-16 20:05:29 +0900
|
249
257
|
Processing by ExportFilesController#index as HTML
|
250
258
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
251
259
|
Redirected to http://www.example.com/users/sign_in
|
252
|
-
Completed 302 Found in
|
253
|
-
[1m[36m (0.
|
254
|
-
[1m[35m (0.
|
255
|
-
[1m[36m (0.
|
256
|
-
[1m[35m (0.
|
257
|
-
[1m[36m (0.
|
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
|
260
|
+
Completed 302 Found in 87ms (ActiveRecord: 0.1ms)
|
261
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
262
|
+
[1m[35m (0.2ms)[0m begin transaction
|
263
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
264
|
+
[1m[35m (0.4ms)[0m begin transaction
|
265
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
263
266
|
[1m[35m (0.1ms)[0m begin transaction
|
264
267
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
265
|
-
[1m[35m (0.
|
266
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (
|
267
|
-
[1m[36m (0.
|
268
|
-
[1m[35m (0.
|
269
|
-
[1m[36m (0.
|
270
|
-
|
271
|
-
|
272
|
-
[1m[36m (0.
|
273
|
-
[1m[
|
274
|
-
[1m[
|
275
|
-
[1m[
|
276
|
-
[1m[
|
277
|
-
[1m[
|
278
|
-
[1m[
|
279
|
-
[1m[
|
268
|
+
[1m[35m (0.2ms)[0m begin transaction
|
269
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (62.8ms)
|
270
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
271
|
+
[1m[35m (0.4ms)[0m begin transaction
|
272
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
273
|
+
[1m[35m (0.2ms)[0m begin transaction
|
274
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (25.2ms)
|
275
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
276
|
+
[1m[35m (0.2ms)[0m begin transaction
|
277
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
279
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "library_groups"
|
280
|
+
[1m[36mFixture Insert (0.2ms)[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-01-25 19:12:41', '2014-01-25 19:12:41')[0m
|
281
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
282
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-01-25 19:12:41', '2014-01-25 19:12:41')[0m
|
283
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-01-25 19:12:41', '2014-01-25 19:12:41')
|
284
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-01-25 19:12:41', '2014-01-25 19:12:41')[0m
|
285
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-01-25 19:12:41', '2014-01-25 19:12:41')
|
280
286
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
281
|
-
[1m[35mFixture Insert (0.
|
282
|
-
[1m[36mFixture Insert (0.
|
283
|
-
[1m[35mFixture Insert (0.
|
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-
|
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-
|
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-
|
287
|
-
[1m[35mFixture Insert (0.
|
287
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 135138680)
|
288
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 344583537)[0m
|
289
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 206669143)
|
290
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 226540757)[0m
|
291
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 358143215)
|
292
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 576709754)[0m
|
293
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-01-25 19:12:41', '2014-01-25 19:12:41', 1010528733)
|
288
294
|
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
289
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: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)
|
290
|
-
[1m[36mFixture Insert (0.
|
291
|
-
[1m[35mFixture Insert (0.
|
292
|
-
[1m[36mFixture Insert (0.
|
293
|
-
[1m[35mFixture Insert (0.
|
294
|
-
[1m[36mFixture Insert (0.
|
296
|
+
[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
|
297
|
+
[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)
|
298
|
+
[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
|
299
|
+
[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)
|
300
|
+
[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
|
295
301
|
[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)
|
296
|
-
[1m[36m (
|
297
|
-
[1m[35m (0.
|
298
|
-
[1m[36mUser Load (0.
|
299
|
-
[1m[35m (0.
|
300
|
-
[1m[36mSQL (
|
302
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
304
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
305
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
306
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00]]
|
301
307
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
302
308
|
Processing by ExportFilesController#index as HTML
|
309
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
310
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
311
|
+
[1m[36mRole Load (0.3ms)[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]]
|
312
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
303
313
|
[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
314
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
311
315
|
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
316
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
317
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
318
|
+
[1m[35mLibraryGroup Load (0.3ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
319
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
320
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
321
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
322
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
323
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
312
324
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
313
325
|
[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.
|
315
|
-
|
316
|
-
|
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)
|
326
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
327
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.4ms)
|
328
|
+
Completed 200 OK in 580ms (Views: 14.5ms | ActiveRecord: 9.7ms | Solr: 0.0ms)
|
321
329
|
[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.
|
323
|
-
[1m[36m (0.
|
330
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
324
332
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
325
|
-
[1m[36m (0.
|
326
|
-
[1m[35mSQL (0.
|
327
|
-
[1m[36m (0.
|
333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
334
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00]]
|
335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
328
336
|
Processing by ExportFilesController#show as HTML
|
329
337
|
Parameters: {"id"=>"1"}
|
330
338
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
331
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
339
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
332
340
|
[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.
|
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]]
|
341
|
+
[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]]
|
336
342
|
[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.
|
343
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
338
344
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
339
|
-
[1m[
|
340
|
-
|
341
|
-
[1m[
|
342
|
-
[1m[
|
345
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
346
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
347
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
348
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
349
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
350
|
+
Completed 200 OK in 22ms (Views: 3.1ms | ActiveRecord: 1.1ms | Solr: 0.0ms)
|
351
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
343
353
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
344
|
-
[1m[36m (0.
|
345
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "
|
346
|
-
[1m[36m (0.
|
347
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
355
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00]]
|
356
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
357
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
348
358
|
Processing by ExportFilesController#destroy as HTML
|
349
359
|
Parameters: {"id"=>"1"}
|
350
360
|
[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.
|
361
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
352
362
|
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
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" =
|
363
|
+
[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]]
|
354
364
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
355
365
|
[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.
|
366
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
357
367
|
[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.
|
359
|
-
[1m[
|
368
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
369
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
370
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
371
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
360
372
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
361
|
-
[1m[35mSQL (0.
|
373
|
+
[1m[35mSQL (0.8ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
362
374
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
363
375
|
Redirected to http://test.host/export_files
|
364
|
-
Completed 302 Found in
|
365
|
-
[1m[35m (0.
|
376
|
+
Completed 302 Found in 42ms (ActiveRecord: 1.8ms)
|
377
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
366
378
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
367
379
|
[1m[35m (0.0ms)[0m begin transaction
|
368
380
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
369
|
-
[1m[35m (0.
|
370
|
-
[1m[36mSQL (0.
|
371
|
-
[1m[35m (0.
|
381
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
382
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00], ["state", "pending"], ["updated_at", Sat, 25 Jan 2014 19:12:41 UTC +00:00]]
|
383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
372
384
|
Processing by ExportFilesController#destroy as HTML
|
373
385
|
Parameters: {"id"=>"1"}
|
374
386
|
[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.
|
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" =
|
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]]
|
387
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
388
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
389
|
+
[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]]
|
382
390
|
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
383
|
-
[1m[
|
391
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
392
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
393
|
+
[1m[35mLibraryGroup Load (0.9ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
394
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
395
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
396
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
397
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
384
398
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
399
|
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
386
400
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
387
401
|
Redirected to http://test.host/export_files
|
388
|
-
Completed 302 Found in
|
402
|
+
Completed 302 Found in 20ms (ActiveRecord: 2.3ms)
|
389
403
|
[1m[35m (0.4ms)[0m rollback transaction
|
390
404
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
391
|
-
Started GET "/export_files" for 127.0.0.1 at 2014-
|
405
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-01-26 04:12:42 +0900
|
392
406
|
Processing by ExportFilesController#index as HTML
|
393
407
|
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
394
408
|
Redirected to http://www.example.com/users/sign_in
|
395
|
-
Completed 302 Found in
|
409
|
+
Completed 302 Found in 34ms (ActiveRecord: 0.1ms)
|
410
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
411
|
+
[1m[35m (0.1ms)[0m begin transaction
|
396
412
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
397
413
|
[1m[35m (0.0ms)[0m begin transaction
|
398
|
-
[1m[36m (0.
|
399
|
-
[1m[35m (0.
|
400
|
-
[1m[36m (
|
401
|
-
[1m[35m (0.
|
402
|
-
|
403
|
-
[1m[
|
404
|
-
|
405
|
-
[1m[36m (0.
|
406
|
-
[1m[35m (0.
|
407
|
-
|
408
|
-
[1m[
|
409
|
-
|
410
|
-
[1m[36m (0.
|
411
|
-
[1m[
|
412
|
-
[1m[
|
413
|
-
|
414
|
-
|
415
|
-
[1m[
|
416
|
-
[1m[35mFixture
|
417
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "
|
418
|
-
[1m[35mFixture
|
419
|
-
[1m[36mFixture
|
420
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "
|
421
|
-
[1m[36mFixture Insert (0.
|
422
|
-
[1m[35mFixture Insert (0.
|
423
|
-
[1m[36mFixture
|
424
|
-
[1m[35mFixture Insert (0.
|
425
|
-
[1m[36mFixture Insert (0.
|
426
|
-
[1m[35mFixture Insert (0.
|
427
|
-
[1m[36mFixture
|
428
|
-
[1m[35mFixture Insert (0.
|
429
|
-
[1m[36mFixture Insert (0.
|
430
|
-
[1m[35mFixture Insert (0.
|
431
|
-
[1m[36mFixture
|
432
|
-
[1m[35mFixture Insert (0.
|
433
|
-
[1m[36mFixture Insert (0.
|
434
|
-
[1m[35mFixture Insert (0.
|
435
|
-
[1m[
|
436
|
-
[1m[
|
437
|
-
[1m[
|
438
|
-
[1m[
|
439
|
-
[1m[
|
440
|
-
[1m[35m (0.
|
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
|
414
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
415
|
+
[1m[35m (0.3ms)[0m begin transaction
|
416
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
417
|
+
[1m[35m (0.1ms)[0m begin transaction
|
418
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (17.8ms)
|
419
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
421
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
422
|
+
[1m[35m (0.2ms)[0m begin transaction
|
423
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (6.6ms)
|
424
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
426
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
428
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "library_groups"
|
429
|
+
[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/', '2014-02-21 17:36:26', '2014-02-21 17:36:26')[0m
|
430
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
431
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-02-21 17:36:26', '2014-02-21 17:36:26')[0m
|
432
|
+
[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-21 17:36:26', '2014-02-21 17:36:26')
|
433
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-02-21 17:36:26', '2014-02-21 17:36:26')[0m
|
434
|
+
[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-21 17:36:26', '2014-02-21 17:36:26')
|
435
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
436
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 135138680)
|
437
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 344583537)[0m
|
438
|
+
[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-21 17:36:26', '2014-02-21 17:36:26', 206669143)
|
439
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 226540757)[0m
|
440
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 358143215)
|
441
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 576709754)[0m
|
442
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-02-21 17:36:26', '2014-02-21 17:36:26', 1010528733)
|
443
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
444
|
+
[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)
|
445
|
+
[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
|
446
|
+
[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)
|
447
|
+
[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
|
448
|
+
[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)
|
449
|
+
[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
|
450
|
+
[1m[35mFixture Insert (0.2ms)[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)
|
451
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
452
|
+
[1m[35m (0.2ms)[0m begin transaction
|
453
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
454
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
455
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 21 Feb 2014 17:36:26 UTC +00:00], ["state", "pending"], ["updated_at", Fri, 21 Feb 2014 17:36:26 UTC +00:00]]
|
456
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
445
457
|
Processing by ExportFilesController#index as HTML
|
458
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
459
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
460
|
+
[1m[36mRole Load (0.3ms)[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]]
|
461
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
446
462
|
[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
463
|
[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.
|
451
|
-
[1m[35mLibraryGroup Load (0.
|
452
|
-
[1m[36mLibraryGroup Load (0.
|
453
|
-
[1m[35mLibraryGroup Load (0.
|
454
|
-
[1m[36mLibraryGroup Load (0.
|
455
|
-
[1m[35mLibraryGroup Load (0.
|
456
|
-
[1m[36mLibraryGroup Load (0.
|
457
|
-
[1m[35mLibraryGroup Load (0.
|
458
|
-
[1m[36mLibraryGroup Load (0.
|
459
|
-
[1m[35mLibraryGroup Load (0.
|
460
|
-
[1m[36mLibraryGroup Load (0.
|
461
|
-
[1m[35mLibraryGroup Load (0.
|
462
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.
|
463
|
-
Completed 200 OK in
|
464
|
-
[1m[36mExportFile Load (0.
|
465
|
-
[1m[35m (
|
466
|
-
[1m[36m (0.
|
467
|
-
[1m[35mUser Load (0.
|
468
|
-
[1m[36m (0.
|
469
|
-
[1m[35mSQL (0.
|
470
|
-
[1m[36m (0.
|
464
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
465
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
466
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
467
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
468
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
469
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
470
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
471
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
472
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
473
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
474
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
475
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
476
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.5ms)
|
477
|
+
Completed 200 OK in 750ms (Views: 18.3ms | ActiveRecord: 9.4ms | Solr: 0.0ms)
|
478
|
+
[1m[36mExportFile Load (0.2ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
479
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
483
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00], ["state", "pending"], ["updated_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00]]
|
484
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
471
485
|
Processing by ExportFilesController#show as HTML
|
472
486
|
Parameters: {"id"=>"1"}
|
473
|
-
[1m[35mLibraryGroup Load (0.
|
474
|
-
[1m[36mUser Load (0.
|
475
|
-
[1m[35mExportFile Load (0.
|
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" =
|
477
|
-
[1m[35mLibraryGroup Load (0.
|
487
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
488
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
489
|
+
[1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
490
|
+
[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]]
|
491
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
478
492
|
[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.
|
493
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
480
494
|
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
481
495
|
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
482
|
-
[1m[
|
483
|
-
|
484
|
-
[1m[
|
485
|
-
|
486
|
-
[1m[
|
487
|
-
[1m[36m (0.
|
488
|
-
[1m[
|
489
|
-
[1m[36m (0.
|
490
|
-
[1m[
|
496
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
497
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
498
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
499
|
+
Completed 200 OK in 34ms (Views: 4.2ms | ActiveRecord: 1.1ms | Solr: 0.0ms)
|
500
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
502
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
503
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
504
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00], ["state", "pending"], ["updated_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00]]
|
505
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
506
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
491
507
|
Processing by ExportFilesController#destroy as HTML
|
492
508
|
Parameters: {"id"=>"1"}
|
493
|
-
[1m[36mLibraryGroup Load (0.
|
494
|
-
[1m[35mUser Load (0.
|
509
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
510
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
495
511
|
[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" =
|
497
|
-
[1m[36mLibraryGroup Load (0.
|
498
|
-
[1m[35mLibraryGroup Load (0.
|
499
|
-
[1m[36mLibraryGroup Load (0.
|
500
|
-
[1m[35mLibraryGroup Load (0.
|
501
|
-
[1m[36mLibraryGroup Load (0.
|
502
|
-
[1m[
|
503
|
-
[1m[
|
512
|
+
[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]]
|
513
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
514
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
515
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
516
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
517
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
518
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
519
|
+
[1m[36mLibraryGroup Load (0.6ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
520
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
504
522
|
[1m[35mSQL (1.0ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
505
|
-
[1m[36m (0.
|
523
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
506
524
|
Redirected to http://test.host/export_files
|
507
|
-
Completed 302 Found in
|
508
|
-
[1m[35m (0.
|
525
|
+
Completed 302 Found in 21ms (ActiveRecord: 2.6ms)
|
526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
509
527
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
510
528
|
[1m[35m (0.0ms)[0m begin transaction
|
511
529
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
512
530
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
513
|
-
[1m[36mSQL (0.
|
531
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00], ["state", "pending"], ["updated_at", Fri, 21 Feb 2014 17:36:27 UTC +00:00]]
|
532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
533
|
+
Processing by ExportFilesController#destroy as HTML
|
534
|
+
Parameters: {"id"=>"1"}
|
535
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
536
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
537
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
538
|
+
[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" = ? ORDER BY roles.position LIMIT 1 [["user_id", 1]]
|
539
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
540
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
541
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
542
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
543
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
544
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
545
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
546
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
547
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
548
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
550
|
+
Redirected to http://test.host/export_files
|
551
|
+
Completed 302 Found in 20ms (ActiveRecord: 1.5ms)
|
552
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
553
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
554
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-02-22 02:36:27 +0900
|
555
|
+
Processing by ExportFilesController#index as HTML
|
556
|
+
[1m[35mLibraryGroup Load (0.2ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
557
|
+
Redirected to http://www.example.com/users/sign_in
|
558
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.2ms)
|
559
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
561
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
565
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
567
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (24.8ms)
|
568
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
569
|
+
[1m[35m (0.1ms)[0m begin transaction
|
570
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
572
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (7.7ms)
|
573
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
574
|
+
[1m[35m (0.1ms)[0m begin transaction
|
575
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
577
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "library_groups"
|
578
|
+
[1m[36mFixture Insert (0.2ms)[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-22 08:00:52', '2014-02-22 08:00:52')[0m
|
579
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
580
|
+
[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-22 08:00:52', '2014-02-22 08:00:52')[0m
|
581
|
+
[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-22 08:00:52', '2014-02-22 08:00:52')
|
582
|
+
[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-22 08:00:52', '2014-02-22 08:00:52')[0m
|
583
|
+
[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-22 08:00:52', '2014-02-22 08:00:52')
|
584
|
+
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
585
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 135138680)
|
586
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 344583537)[0m
|
587
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 206669143)
|
588
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 226540757)[0m
|
589
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 358143215)
|
590
|
+
[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-22 08:00:52', '2014-02-22 08:00:52', 576709754)[0m
|
591
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-02-22 08:00:52', '2014-02-22 08:00:52', 1010528733)
|
592
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
593
|
+
[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)
|
594
|
+
[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
|
595
|
+
[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)
|
596
|
+
[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
|
597
|
+
[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)
|
598
|
+
[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
|
599
|
+
[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)
|
600
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
602
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
604
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-02-22 08:00:52.632267"], ["state", "pending"], ["updated_at", "2014-02-22 08:00:52.632267"]]
|
605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
606
|
+
Processing by ExportFilesController#index as HTML
|
607
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
608
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
609
|
+
[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]]
|
610
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
611
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
612
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
613
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
614
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
615
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
616
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
617
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
618
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
619
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
620
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
621
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
622
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
623
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
624
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
625
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
626
|
+
Completed 200 OK in 417ms (Views: 11.6ms | ActiveRecord: 6.3ms | Solr: 0.0ms)
|
627
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0[0m
|
628
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
629
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
630
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
631
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-02-22 08:00:53.072563"], ["state", "pending"], ["updated_at", "2014-02-22 08:00:53.072563"]]
|
633
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
634
|
+
Processing by ExportFilesController#show as HTML
|
635
|
+
Parameters: {"id"=>"1"}
|
636
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
637
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
638
|
+
[1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
639
|
+
[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]]
|
640
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
641
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
642
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
643
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
644
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
645
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
646
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
647
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
648
|
+
Completed 200 OK in 20ms (Views: 3.3ms | ActiveRecord: 0.9ms | Solr: 0.0ms)
|
649
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
651
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
652
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
653
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-02-22 08:00:53.099317"], ["state", "pending"], ["updated_at", "2014-02-22 08:00:53.099317"]]
|
654
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
655
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
656
|
+
Processing by ExportFilesController#destroy as HTML
|
657
|
+
Parameters: {"id"=>"1"}
|
658
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
659
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
660
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
661
|
+
[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]]
|
662
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
663
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
664
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
665
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
666
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
667
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
668
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
669
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
|
+
[1m[35mSQL (0.9ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
673
|
+
Redirected to http://test.host/export_files
|
674
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.9ms)
|
675
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
676
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
678
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
679
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-02-22 08:00:53.127716"], ["state", "pending"], ["updated_at", "2014-02-22 08:00:53.127716"]]
|
514
681
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
515
682
|
Processing by ExportFilesController#destroy as HTML
|
516
683
|
Parameters: {"id"=>"1"}
|
517
|
-
[1m[36mLibraryGroup Load (0.
|
518
|
-
[1m[35mUser Load (0.1ms)[0m SELECT
|
519
|
-
[1m[36mExportFile Load (0.
|
520
|
-
[1m[35mRole Load (0.
|
521
|
-
[1m[36mLibraryGroup Load (0.
|
522
|
-
[1m[35mLibraryGroup Load (0.
|
523
|
-
[1m[36mLibraryGroup Load (0.
|
524
|
-
[1m[35mLibraryGroup Load (0.
|
525
|
-
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT
|
526
|
-
[1m[
|
684
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
685
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
686
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
687
|
+
[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" = ? ORDER BY roles.position LIMIT 1 [["user_id", 1]]
|
688
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
689
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
690
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
691
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
692
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
693
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
694
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
695
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
527
696
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
528
|
-
[1m[35mSQL (0.
|
697
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
529
698
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
530
699
|
Redirected to http://test.host/export_files
|
531
|
-
Completed 302 Found in
|
532
|
-
[1m[35m (0.
|
700
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.2ms)
|
701
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
533
702
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
534
|
-
Started GET "/export_files" for 127.0.0.1 at 2014-02-
|
703
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-02-22 17:00:53 +0900
|
535
704
|
Processing by ExportFilesController#index as HTML
|
536
|
-
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT
|
705
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
537
706
|
Redirected to http://www.example.com/users/sign_in
|
538
|
-
Completed 302 Found in
|
707
|
+
Completed 302 Found in 24ms (ActiveRecord: 0.1ms)
|
539
708
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
540
709
|
[1m[35m (0.0ms)[0m begin transaction
|
541
710
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
@@ -544,12 +713,518 @@ Completed 302 Found in 13.9ms (ActiveRecord: 0.1ms)
|
|
544
713
|
[1m[35m (0.0ms)[0m begin transaction
|
545
714
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
546
715
|
[1m[35m (0.0ms)[0m begin transaction
|
547
|
-
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (13.
|
716
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (13.3ms)
|
717
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
548
719
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
721
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (9.1ms)
|
722
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
724
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
726
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "library_groups"
|
727
|
+
[1m[36mFixture Insert (0.2ms)[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-05-12 14:58:48', '2014-05-12 14:58:48')[0m
|
728
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
729
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-05-12 14:58:48', '2014-05-12 14:58:48')[0m
|
730
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-05-12 14:58:48', '2014-05-12 14:58:48')
|
731
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-05-12 14:58:48', '2014-05-12 14:58:48')[0m
|
732
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-05-12 14:58:48', '2014-05-12 14:58:48')
|
733
|
+
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
734
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 135138680)
|
735
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 344583537)[0m
|
736
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 206669143)
|
737
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 226540757)[0m
|
738
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 358143215)
|
739
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 576709754)[0m
|
740
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-05-12 14:58:48', '2014-05-12 14:58:48', 1010528733)
|
741
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
742
|
+
[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)
|
743
|
+
[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
|
744
|
+
[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)
|
745
|
+
[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
|
746
|
+
[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)
|
747
|
+
[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
|
748
|
+
[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)
|
749
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
751
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
752
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
753
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-12 14:58:48.849483"], ["state", "pending"], ["updated_at", "2014-05-12 14:58:48.849483"]]
|
754
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
755
|
+
Processing by ExportFilesController#index as HTML
|
756
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
757
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
758
|
+
[1m[36mRole Load (0.3ms)[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]]
|
759
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
760
|
+
Completed 200 OK in 50ms (Views: 10.2ms | ActiveRecord: 0.8ms | Solr: 0.0ms)
|
761
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0
|
762
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
764
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
766
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-12 14:58:48.921371"], ["state", "pending"], ["updated_at", "2014-05-12 14:58:48.921371"]]
|
767
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
+
Processing by ExportFilesController#show as HTML
|
769
|
+
Parameters: {"id"=>"1"}
|
770
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
771
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
772
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
773
|
+
[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]]
|
774
|
+
Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
|
775
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
549
776
|
[1m[35m (0.0ms)[0m begin transaction
|
550
|
-
[1m[
|
777
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
779
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-12 14:58:48.933024"], ["state", "pending"], ["updated_at", "2014-05-12 14:58:48.933024"]]
|
780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
781
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
782
|
+
Processing by ExportFilesController#destroy as HTML
|
783
|
+
Parameters: {"id"=>"1"}
|
784
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
785
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
786
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
787
|
+
[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]]
|
788
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
789
|
+
[1m[36mSQL (1.1ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
790
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
791
|
+
Redirected to http://test.host/export_files
|
792
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.7ms)
|
793
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
794
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
796
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
797
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
798
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-12 14:58:48.950164"], ["state", "pending"], ["updated_at", "2014-05-12 14:58:48.950164"]]
|
799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
800
|
+
Processing by ExportFilesController#destroy as HTML
|
801
|
+
Parameters: {"id"=>"1"}
|
802
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
803
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
804
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
805
|
+
[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]]
|
806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
807
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
808
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
809
|
+
Redirected to http://test.host/export_files
|
810
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
811
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
551
812
|
[1m[35m (0.0ms)[0m begin transaction
|
552
|
-
|
553
|
-
|
813
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-05-12 23:58:48 +0900
|
814
|
+
Processing by ExportFilesController#index as HTML
|
815
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
816
|
+
Redirected to http://www.example.com/users/sign_in
|
817
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.1ms)
|
818
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
820
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
822
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
826
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (21.3ms)
|
827
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
829
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
830
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
831
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (6.1ms)
|
832
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
833
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
834
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
836
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "library_groups"
|
837
|
+
[1m[36mFixture Insert (0.2ms)[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-05-17 16:42:14', '2014-05-17 16:42:14')[0m
|
838
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
839
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-05-17 16:42:14', '2014-05-17 16:42:14')[0m
|
840
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-05-17 16:42:14', '2014-05-17 16:42:14')
|
841
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-05-17 16:42:14', '2014-05-17 16:42:14')[0m
|
842
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-05-17 16:42:14', '2014-05-17 16:42:14')
|
843
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
844
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 135138680)
|
845
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 344583537)[0m
|
846
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 206669143)
|
847
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 226540757)[0m
|
848
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 358143215)
|
849
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 576709754)[0m
|
850
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-05-17 16:42:14', '2014-05-17 16:42:14', 1010528733)
|
851
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
852
|
+
[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)
|
853
|
+
[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
|
854
|
+
[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)
|
855
|
+
[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
|
856
|
+
[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)
|
857
|
+
[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
|
858
|
+
[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)
|
859
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
861
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
863
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-17 16:42:14.484948"], ["state", "pending"], ["updated_at", "2014-05-17 16:42:14.484948"]]
|
864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
865
|
+
Processing by ExportFilesController#index as HTML
|
866
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
867
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
868
|
+
[1m[36mRole Load (0.3ms)[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]]
|
869
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
870
|
+
Completed 200 OK in 62ms (Views: 10.8ms | ActiveRecord: 0.8ms | Solr: 0.0ms)
|
871
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0
|
872
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
554
873
|
[1m[35m (0.0ms)[0m begin transaction
|
555
|
-
[1m[
|
874
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
875
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
876
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-17 16:42:14.572575"], ["state", "pending"], ["updated_at", "2014-05-17 16:42:14.572575"]]
|
877
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
878
|
+
Processing by ExportFilesController#show as HTML
|
879
|
+
Parameters: {"id"=>"1"}
|
880
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
881
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
882
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
883
|
+
[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]]
|
884
|
+
Completed 200 OK in 10ms (Views: 4.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms)
|
885
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
887
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
888
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
889
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-05-17 16:42:14.608082"], ["state", "pending"], ["updated_at", "2014-05-17 16:42:14.608082"]]
|
890
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
891
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
892
|
+
Processing by ExportFilesController#destroy as HTML
|
893
|
+
Parameters: {"id"=>"1"}
|
894
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
895
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
896
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
897
|
+
[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]]
|
898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
899
|
+
[1m[36mSQL (1.4ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
900
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
901
|
+
Redirected to http://test.host/export_files
|
902
|
+
Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
|
903
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
904
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
907
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
908
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "export_files" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-05-17 16:42:14.641103"], ["state", "pending"], ["updated_at", "2014-05-17 16:42:14.641103"]]
|
909
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
910
|
+
Processing by ExportFilesController#destroy as HTML
|
911
|
+
Parameters: {"id"=>"1"}
|
912
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
913
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
914
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
915
|
+
[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]]
|
916
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
917
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
919
|
+
Redirected to http://test.host/export_files
|
920
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
921
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
922
|
+
[1m[35m (0.1ms)[0m begin transaction
|
923
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-05-18 01:42:14 +0900
|
924
|
+
Processing by ExportFilesController#index as HTML
|
925
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
926
|
+
Redirected to http://www.example.com/users/sign_in
|
927
|
+
Completed 302 Found in 31ms (ActiveRecord: 0.1ms)
|
928
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
930
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
931
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
932
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
936
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (32.6ms)
|
937
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
941
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (8.4ms)
|
942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
943
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
945
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
946
|
+
Migrating to CreateExportFileTransitions (20140524014928)
|
947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
948
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "export_file_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
949
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
950
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_export_file_transitions_on_export_file_id" ON "export_file_transitions" ("export_file_id")[0m
|
951
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
952
|
+
FROM sqlite_master
|
953
|
+
WHERE name='index_export_file_transitions_on_export_file_id' AND type='index'
|
954
|
+
UNION ALL
|
955
|
+
SELECT sql
|
956
|
+
FROM sqlite_temp_master
|
957
|
+
WHERE name='index_export_file_transitions_on_export_file_id' AND type='index'
|
958
|
+
|
959
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_export_file_transitions_on_sort_key_and_export_file_id" ON "export_file_transitions" ("sort_key", "export_file_id")[0m
|
960
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140524014928"]]
|
961
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
962
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
963
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
964
|
+
FROM sqlite_master
|
965
|
+
WHERE name='index_export_file_transitions_on_sort_key_and_export_file_id' AND type='index'
|
966
|
+
UNION ALL
|
967
|
+
SELECT sql
|
968
|
+
FROM sqlite_temp_master
|
969
|
+
WHERE name='index_export_file_transitions_on_sort_key_and_export_file_id' AND type='index'
|
970
|
+
[0m
|
971
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
972
|
+
FROM sqlite_master
|
973
|
+
WHERE name='index_export_file_transitions_on_export_file_id' AND type='index'
|
974
|
+
UNION ALL
|
975
|
+
SELECT sql
|
976
|
+
FROM sqlite_temp_master
|
977
|
+
WHERE name='index_export_file_transitions_on_export_file_id' AND type='index'
|
978
|
+
|
979
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
980
|
+
FROM sqlite_master
|
981
|
+
WHERE name='index_export_files_on_user_id' AND type='index'
|
982
|
+
UNION ALL
|
983
|
+
SELECT sql
|
984
|
+
FROM sqlite_temp_master
|
985
|
+
WHERE name='index_export_files_on_user_id' AND type='index'
|
986
|
+
[0m
|
987
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
988
|
+
FROM sqlite_master
|
989
|
+
WHERE name='index_library_groups_on_short_name' AND type='index'
|
990
|
+
UNION ALL
|
991
|
+
SELECT sql
|
992
|
+
FROM sqlite_temp_master
|
993
|
+
WHERE name='index_library_groups_on_short_name' AND type='index'
|
994
|
+
|
995
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
996
|
+
FROM sqlite_master
|
997
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
998
|
+
UNION ALL
|
999
|
+
SELECT sql
|
1000
|
+
FROM sqlite_temp_master
|
1001
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
1002
|
+
[0m
|
1003
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1004
|
+
FROM sqlite_master
|
1005
|
+
WHERE name='index_users_on_email' AND type='index'
|
1006
|
+
UNION ALL
|
1007
|
+
SELECT sql
|
1008
|
+
FROM sqlite_temp_master
|
1009
|
+
WHERE name='index_users_on_email' AND type='index'
|
1010
|
+
|
1011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1012
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "library_groups"
|
1013
|
+
[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-05-24 01:53:35', '2014-05-24 01:53:35')[0m
|
1014
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
1015
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-05-24 01:53:35', '2014-05-24 01:53:35')[0m
|
1016
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-05-24 01:53:35', '2014-05-24 01:53:35')
|
1017
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-05-24 01:53:35', '2014-05-24 01:53:35')[0m
|
1018
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-05-24 01:53:35', '2014-05-24 01:53:35')
|
1019
|
+
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
1020
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 135138680)
|
1021
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 344583537)[0m
|
1022
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 206669143)
|
1023
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 226540757)[0m
|
1024
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 358143215)
|
1025
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 576709754)[0m
|
1026
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-05-24 01:53:35', '2014-05-24 01:53:35', 1010528733)
|
1027
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1028
|
+
[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)
|
1029
|
+
[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
|
1030
|
+
[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)
|
1031
|
+
[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
|
1032
|
+
[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)
|
1033
|
+
[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
|
1034
|
+
[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)
|
1035
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
1036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1037
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1039
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-24 01:53:35.783719"], ["updated_at", "2014-05-24 01:53:35.783719"]]
|
1040
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1041
|
+
Processing by ExportFilesController#index as HTML
|
1042
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1043
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
1044
|
+
[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]]
|
1045
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
1046
|
+
Completed 200 OK in 46ms (Views: 9.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms)
|
1047
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0
|
1048
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1049
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1050
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1052
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-24 01:53:35.846163"], ["updated_at", "2014-05-24 01:53:35.846163"]]
|
1053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1054
|
+
Processing by ExportFilesController#show as HTML
|
1055
|
+
Parameters: {"id"=>"1"}
|
1056
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1057
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
1058
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
1059
|
+
[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]]
|
1060
|
+
Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
|
1061
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1064
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1065
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-24 01:53:35.856810"], ["updated_at", "2014-05-24 01:53:35.856810"]]
|
1066
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1067
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
1068
|
+
Processing by ExportFilesController#destroy as HTML
|
1069
|
+
Parameters: {"id"=>"1"}
|
1070
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
1071
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
1072
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
1073
|
+
[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]]
|
1074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1075
|
+
[1m[36mSQL (0.9ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
1076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1077
|
+
Redirected to http://test.host/export_files
|
1078
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
1079
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
1080
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1082
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1083
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1084
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-05-24 01:53:35.880501"], ["updated_at", "2014-05-24 01:53:35.880501"]]
|
1085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1086
|
+
Processing by ExportFilesController#destroy as HTML
|
1087
|
+
Parameters: {"id"=>"1"}
|
1088
|
+
[1m[35mLibraryGroup Load (0.0ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
1089
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
1090
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
1091
|
+
[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]]
|
1092
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1093
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
1094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1095
|
+
Redirected to http://test.host/export_files
|
1096
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
1097
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1099
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-05-24 10:53:35 +0900
|
1100
|
+
Processing by ExportFilesController#index as HTML
|
1101
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1102
|
+
Redirected to http://www.example.com/users/sign_in
|
1103
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.2ms)
|
1104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1107
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1112
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (23.3ms)
|
1113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1117
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (8.0ms)
|
1118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1122
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "library_groups"
|
1123
|
+
[1m[36mFixture Insert (0.2ms)[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-05-28 16:19:49', '2014-05-28 16:19:49')[0m
|
1124
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "roles"
|
1125
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2014-05-28 16:19:49', '2014-05-28 16:19:49')[0m
|
1126
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2014-05-28 16:19:49', '2014-05-28 16:19:49')
|
1127
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2014-05-28 16:19:49', '2014-05-28 16:19:49')[0m
|
1128
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2014-05-28 16:19:49', '2014-05-28 16:19:49')
|
1129
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
1130
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 135138680)
|
1131
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 344583537)[0m
|
1132
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 206669143)
|
1133
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 226540757)[0m
|
1134
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 358143215)
|
1135
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 576709754)[0m
|
1136
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2014-05-28 16:19:49', '2014-05-28 16:19:49', 1010528733)
|
1137
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1138
|
+
[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)
|
1139
|
+
[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
|
1140
|
+
[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)
|
1141
|
+
[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
|
1142
|
+
[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)
|
1143
|
+
[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
|
1144
|
+
[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)
|
1145
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1147
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1149
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-28 16:19:49.721406"], ["updated_at", "2014-05-28 16:19:49.721406"]]
|
1150
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1151
|
+
Processing by ExportFilesController#index as HTML
|
1152
|
+
[1m[36mLibraryGroup Load (0.2ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1153
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
1154
|
+
[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]]
|
1155
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
1156
|
+
Completed 200 OK in 56ms (Views: 10.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
|
1157
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" ORDER BY id DESC LIMIT 25 OFFSET 0
|
1158
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1160
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-28 16:19:49.801664"], ["updated_at", "2014-05-28 16:19:49.801664"]]
|
1163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1164
|
+
Processing by ExportFilesController#show as HTML
|
1165
|
+
Parameters: {"id"=>"1"}
|
1166
|
+
[1m[36mLibraryGroup Load (0.0ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1167
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
|
1168
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", 1]]
|
1169
|
+
[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]]
|
1170
|
+
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
|
1171
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1173
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1175
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-05-28 16:19:49.812997"], ["updated_at", "2014-05-28 16:19:49.812997"]]
|
1176
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1177
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
1178
|
+
Processing by ExportFilesController#destroy as HTML
|
1179
|
+
Parameters: {"id"=>"1"}
|
1180
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
1181
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
1182
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
1183
|
+
[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]]
|
1184
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1185
|
+
[1m[36mSQL (1.0ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
1186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1187
|
+
Redirected to http://test.host/export_files
|
1188
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
|
1189
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "export_files"[0m
|
1190
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1192
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1193
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1194
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "export_files" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-05-28 16:19:49.835267"], ["updated_at", "2014-05-28 16:19:49.835267"]]
|
1195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1196
|
+
Processing by ExportFilesController#destroy as HTML
|
1197
|
+
Parameters: {"id"=>"1"}
|
1198
|
+
[1m[35mLibraryGroup Load (0.1ms)[0m SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]]
|
1199
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
1200
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", 1]]
|
1201
|
+
[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]]
|
1202
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1203
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "export_files" WHERE "export_files"."id" = ?[0m [["id", 1]]
|
1204
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1205
|
+
Redirected to http://test.host/export_files
|
1206
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
1207
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1209
|
+
Started GET "/export_files" for 127.0.0.1 at 2014-05-29 01:19:49 +0900
|
1210
|
+
Processing by ExportFilesController#index as HTML
|
1211
|
+
[1m[36mLibraryGroup Load (0.1ms)[0m [1mSELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1[0m [["id", 1]]
|
1212
|
+
Redirected to http://www.example.com/users/sign_in
|
1213
|
+
Completed 302 Found in 28ms (ActiveRecord: 0.1ms)
|
1214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1222
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (29.3ms)
|
1223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1227
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.0ms)
|
1228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1230
|
+
[1m[35m (0.1ms)[0m rollback transaction
|