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