enju_search_log 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module EnjuSearchLog
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
Binary file
@@ -0,0 +1,36 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'spec_helper'
3
+
4
+ describe SearchHistory do
5
+ #pending "add some examples to (or delete) #{__FILE__}"
6
+
7
+ end
8
+
9
+ # == Schema Information
10
+ #
11
+ # Table name: search_histories
12
+ #
13
+ # id :integer not null, primary key
14
+ # user_id :integer
15
+ # operation :string(255) default("searchRetrieve")
16
+ # sru_version :float default(1.2)
17
+ # query :string(255)
18
+ # start_record :integer
19
+ # maximum_records :integer
20
+ # record_packing :string(255)
21
+ # record_schema :string(255)
22
+ # result_set_ttl :integer
23
+ # stylesheet :string(255)
24
+ # extra_request_data :string(255)
25
+ # number_of_records :integer default(0)
26
+ # result_set_id :string(255)
27
+ # result_set_idle_time :integer
28
+ # records :text
29
+ # next_record_position :integer
30
+ # diagnostics :text
31
+ # extra_response_data :text
32
+ # echoed_search_retrieve_request :text
33
+ # created_at :datetime
34
+ # updated_at :datetime
35
+ #
36
+
@@ -2,14 +2,14 @@ module ControllerMacros
2
2
  def login_admin
3
3
  before(:each) do
4
4
  @request.env["devise.mapping"] = Devise.mappings[:admin]
5
- sign_in Factory.create(:admin)
5
+ sign_in FactoryGirl.create(:admin)
6
6
  end
7
7
  end
8
8
 
9
9
  def login_librarian
10
10
  before(:each) do
11
11
  @request.env["devise.mapping"] = Devise.mappings[:user]
12
- user = Factory.create(:librarian)
12
+ user = FactoryGirl.create(:librarian)
13
13
  sign_in user
14
14
  end
15
15
  end
@@ -17,7 +17,7 @@ module ControllerMacros
17
17
  def login_user
18
18
  before(:each) do
19
19
  @request.env["devise.mapping"] = Devise.mappings[:user]
20
- user = Factory.create(:user)
20
+ user = FactoryGirl.create(:user)
21
21
  sign_in user
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_search_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-20 00:00:00.000000000 Z
12
+ date: 2012-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70143485410300 !ruby/object:Gem::Requirement
16
+ requirement: &70126304958140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.1'
21
+ version: '3.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70143485410300
24
+ version_requirements: *70126304958140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: devise
27
- requirement: &70143485409880 !ruby/object:Gem::Requirement
27
+ requirement: &70126304957420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70143485409880
35
+ version_requirements: *70126304957420
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: cancan
38
- requirement: &70143485409180 !ruby/object:Gem::Requirement
38
+ requirement: &70126304956480 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70143485409180
46
+ version_requirements: *70126304956480
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: will_paginate
49
- requirement: &70143485408620 !ruby/object:Gem::Requirement
49
+ requirement: &70126304955780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70143485408620
57
+ version_requirements: *70126304955780
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &70143485407880 !ruby/object:Gem::Requirement
60
+ requirement: &70126304955060 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70143485407880
68
+ version_requirements: *70126304955060
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
- requirement: &70143485407440 !ruby/object:Gem::Requirement
71
+ requirement: &70126304954360 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,18 +76,18 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70143485407440
79
+ version_requirements: *70126304954360
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: factory_girl_rails
82
- requirement: &70143485406940 !ruby/object:Gem::Requirement
82
+ requirement: &70126304953580 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
86
86
  - !ruby/object:Gem::Version
87
- version: '1.4'
87
+ version: '3.1'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70143485406940
90
+ version_requirements: *70126304953580
91
91
  description: Search log management for Next-L Enju
92
92
  email:
93
93
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -151,8 +151,6 @@ files:
151
151
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
152
152
  - spec/dummy/db/schema.rb
153
153
  - spec/dummy/db/test.sqlite3
154
- - spec/dummy/log/development.log
155
- - spec/dummy/log/test.log
156
154
  - spec/dummy/public/404.html
157
155
  - spec/dummy/public/422.html
158
156
  - spec/dummy/public/500.html
@@ -163,6 +161,7 @@ files:
163
161
  - spec/fixtures/search_histories.yml
164
162
  - spec/fixtures/user_has_roles.yml
165
163
  - spec/fixtures/users.yml
164
+ - spec/models/search_history_spec.rb
166
165
  - spec/spec_helper.rb
167
166
  - spec/support/controller_macros.rb
168
167
  - spec/support/devise.rb
@@ -228,8 +227,6 @@ test_files:
228
227
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
229
228
  - spec/dummy/db/schema.rb
230
229
  - spec/dummy/db/test.sqlite3
231
- - spec/dummy/log/development.log
232
- - spec/dummy/log/test.log
233
230
  - spec/dummy/public/404.html
234
231
  - spec/dummy/public/422.html
235
232
  - spec/dummy/public/500.html
@@ -240,6 +237,7 @@ test_files:
240
237
  - spec/fixtures/search_histories.yml
241
238
  - spec/fixtures/user_has_roles.yml
242
239
  - spec/fixtures/users.yml
240
+ - spec/models/search_history_spec.rb
243
241
  - spec/spec_helper.rb
244
242
  - spec/support/controller_macros.rb
245
243
  - spec/support/devise.rb
File without changes
@@ -1,1737 +0,0 @@
1
-  (0.1ms) select sqlite_version(*)
2
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (0.0ms) PRAGMA index_list("schema_migrations")
4
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
- Migrating to CreateSearchHistories (90)
7
-  (0.4ms) CREATE TABLE "search_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "operation" varchar(255) DEFAULT 'searchRetrieve', "version" float DEFAULT 1.2, "query" varchar(255), "start_record" integer, "maximum_records" integer, "record_packing" varchar(255), "record_schema" varchar(255), "result_set_ttl" integer, "stylesheet" varchar(255), "extra_request_data" varchar(255), "number_of_records" integer DEFAULT 0, "result_set_id" varchar(255), "result_set_idle_time" integer, "records" text, "next_record_position" integer, "diagnostics" text, "extra_response_data" text, "echoed_search_retrieve_request" text, "created_at" datetime, "updated_at" datetime)
8
-  (0.0ms) PRAGMA index_list("search_histories")
9
-  (0.1ms) CREATE INDEX "index_search_histories_on_user_id" ON "search_histories" ("user_id")
10
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('90')
11
- Migrating to RenameSearchHistoryVersionToSruVersion (20100623173800)
12
-  (0.6ms) CREATE TEMPORARY TABLE "altered_search_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "operation" varchar(255) DEFAULT 'searchRetrieve', "sru_version" float DEFAULT 1.2, "query" varchar(255), "start_record" integer, "maximum_records" integer, "record_packing" varchar(255), "record_schema" varchar(255), "result_set_ttl" integer, "stylesheet" varchar(255), "extra_request_data" varchar(255), "number_of_records" integer DEFAULT 0, "result_set_id" varchar(255), "result_set_idle_time" integer, "records" text, "next_record_position" integer, "diagnostics" text, "extra_response_data" text, "echoed_search_retrieve_request" text, "created_at" datetime, "updated_at" datetime)
13
-  (0.0ms) PRAGMA index_list("search_histories")
14
-  (0.0ms) PRAGMA index_info('index_search_histories_on_user_id')
15
-  (0.0ms) PRAGMA index_list("altered_search_histories")
16
-  (0.2ms) CREATE INDEX "temp_index_altered_search_histories_on_user_id" ON "altered_search_histories" ("user_id")
17
-  (0.2ms) SELECT * FROM "search_histories"
18
-  (0.3ms) DROP TABLE "search_histories"
19
-  (0.2ms) CREATE TABLE "search_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "operation" varchar(255) DEFAULT 'searchRetrieve', "sru_version" float DEFAULT 1.2, "query" varchar(255), "start_record" integer, "maximum_records" integer, "record_packing" varchar(255), "record_schema" varchar(255), "result_set_ttl" integer, "stylesheet" varchar(255), "extra_request_data" varchar(255), "number_of_records" integer DEFAULT 0, "result_set_id" varchar(255), "result_set_idle_time" integer, "records" text, "next_record_position" integer, "diagnostics" text, "extra_response_data" text, "echoed_search_retrieve_request" text, "created_at" datetime, "updated_at" datetime) 
20
-  (0.0ms) PRAGMA index_list("altered_search_histories")
21
-  (0.0ms) PRAGMA index_info('temp_index_altered_search_histories_on_user_id')
22
-  (0.0ms) PRAGMA index_list("search_histories")
23
-  (0.1ms) CREATE INDEX "index_search_histories_on_user_id" ON "search_histories" ("user_id")
24
-  (0.1ms) SELECT * FROM "altered_search_histories"
25
-  (0.4ms) DROP TABLE "altered_search_histories"
26
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100623173800')
27
-  (0.2ms) select sqlite_version(*)
28
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
29
-  (0.1ms) PRAGMA index_list("search_histories")
30
-  (0.0ms) PRAGMA index_info('index_search_histories_on_user_id')
31
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32
- Migrating to CreateSearchHistories (90)
33
- Migrating to RenameSearchHistoryVersionToSruVersion (20100623173800)
34
- Migrating to CreateRoles (20111201121844)
35
-  (0.0ms) select sqlite_version(*)
36
-  (0.3ms) 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) 
37
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
38
- Migrating to CreateUsers (20111201155456)
39
-  (0.2ms) 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) 
40
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
41
- Migrating to AddDeviseToUsers (20111201155513)
42
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
43
- Migrating to CreateSearchHistories (90)
44
- Migrating to RenameSearchHistoryVersionToSruVersion (20100623173800)
45
- Migrating to CreateRoles (20111201121844)
46
- Migrating to CreateUsers (20111201155456)
47
- Migrating to AddDeviseToUsers (20111201155513)
48
-  (0.0ms) select sqlite_version(*)
49
-  (0.4ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
50
-  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
51
-  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
52
-  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
53
-  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime
54
-  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
55
-  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
56
-  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
57
-  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
58
-  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
59
-  (0.0ms) PRAGMA index_list("users")
60
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
61
-  (0.0ms) PRAGMA index_list("users")
62
-  (0.0ms) PRAGMA index_info('index_users_on_email')
63
-  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
64
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
65
- Migrating to CreateUserHasRoles (20111201163718)
66
-  (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) 
67
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
68
-  (0.3ms) select sqlite_version(*)
69
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
70
-  (0.0ms) PRAGMA index_list("roles")
71
-  (0.0ms) PRAGMA index_list("search_histories")
72
-  (0.0ms) PRAGMA index_info('index_search_histories_on_user_id')
73
-  (0.0ms) PRAGMA index_list("user_has_roles")
74
-  (0.0ms) PRAGMA index_list("users")
75
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
76
-  (0.0ms) PRAGMA index_info('index_users_on_email')
77
- Fixture Delete (0.4ms) DELETE FROM "roles"
78
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:51:22', '2012-01-06 02:51:22')
79
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:51:22', '2012-01-06 02:51:22')
80
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:51:22', '2012-01-06 02:51:22')
81
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:51:22', '2012-01-06 02:51:22')
82
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
83
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 135138680)
84
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 344583537)
85
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 206669143)
86
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 226540757)
87
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 358143215)
88
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 576709754)
89
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:51:22', '2012-01-06 02:51:22', 1010528733)
90
- Fixture Delete (0.2ms) DELETE FROM "users"
91
- 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: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)
92
- 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)
93
- 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)
94
- 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)
95
- 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)
96
- 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)
97
- 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)
98
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
99
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
100
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
101
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
102
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
103
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
104
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
105
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
106
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
107
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
108
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
109
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
110
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
111
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
112
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
113
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
114
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
115
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
116
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
117
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
118
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
119
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
120
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
121
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
122
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
123
- Fixture Delete (0.3ms) DELETE FROM "roles"
124
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:51:56', '2012-01-06 02:51:56')
125
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:51:56', '2012-01-06 02:51:56')
126
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:51:56', '2012-01-06 02:51:56')
127
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:51:56', '2012-01-06 02:51:56')
128
- Fixture Delete (0.2ms) DELETE FROM "search_histories"
129
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
130
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
131
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
132
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
133
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
134
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 135138680)
135
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 344583537)
136
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 206669143)
137
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 226540757)
138
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 358143215)
139
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 576709754)
140
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:51:56', '2012-01-06 02:51:56', 1010528733)
141
- Fixture Delete (0.2ms) DELETE FROM "users"
142
- 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)
143
- 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)
144
- 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)
145
- 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)
146
- 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)
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 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
148
- 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)
149
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
150
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
151
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
152
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
153
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
154
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
155
- SearchHistory Load (0.2ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
156
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
157
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
158
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
159
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
160
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
161
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
162
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
163
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
164
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
165
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
166
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
167
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
168
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
169
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
170
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
171
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
172
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
173
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
174
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
175
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
176
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
177
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
178
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
179
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
180
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
181
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
182
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
183
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
184
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
185
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
186
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
187
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
188
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
189
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
190
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
191
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
192
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
193
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
194
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
195
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
196
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
197
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
198
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
199
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
200
- Fixture Delete (0.4ms) DELETE FROM "roles"
201
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:52:50', '2012-01-06 02:52:50')
202
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:52:50', '2012-01-06 02:52:50')
203
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:52:50', '2012-01-06 02:52:50')
204
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:52:50', '2012-01-06 02:52:50')
205
- Fixture Delete (0.1ms) DELETE FROM "search_histories"
206
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
207
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
208
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
209
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
210
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
211
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 135138680)
212
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 344583537)
213
- Fixture Insert (0.2ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 206669143)
214
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 226540757)
215
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 358143215)
216
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 576709754)
217
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:52:50', '2012-01-06 02:52:50', 1010528733)
218
- Fixture Delete (0.2ms) DELETE FROM "users"
219
- 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)
220
- 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)
221
- 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)
222
- Fixture Insert (0.2ms) 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)
223
- Fixture Insert (0.2ms) 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)
224
- 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)
225
- 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)
226
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
227
- Processing by SearchHistoriesController#index as HTML
228
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
229
- 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 LIMIT 1
230
- Completed 500 Internal Server Error in 171ms
231
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
232
- Processing by SearchHistoriesController#index as HTML
233
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 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" = 2 LIMIT 1
235
- Completed 500 Internal Server Error in 9ms
236
- User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
237
- Processing by SearchHistoriesController#index as HTML
238
- Parameters: {"mode"=>"not_found"}
239
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
240
- 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" = 2 LIMIT 1
241
- Completed 500 Internal Server Error in 8ms
242
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
243
- Processing by SearchHistoriesController#index as HTML
244
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
245
- 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" = 3 LIMIT 1
246
- Completed 500 Internal Server Error in 8ms
247
- Processing by SearchHistoriesController#index as HTML
248
- Completed 500 Internal Server Error in 16ms
249
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
250
- Processing by SearchHistoriesController#index as HTML
251
- Parameters: {"user_id"=>"admin"}
252
- Completed 500 Internal Server Error in 6ms
253
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
254
- SearchHistory Load (0.3ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
255
- Processing by SearchHistoriesController#show as HTML
256
- Parameters: {"id"=>"100"}
257
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
258
- Completed 404 Not Found in 5ms
259
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
260
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
261
- Processing by SearchHistoriesController#show as HTML
262
- Parameters: {"id"=>"1"}
263
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
264
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
265
- 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 LIMIT 1
266
- Completed 500 Internal Server Error in 11ms
267
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
268
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
269
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
270
- Processing by SearchHistoriesController#show as HTML
271
- Parameters: {"id"=>"2"}
272
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
273
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
274
- 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 LIMIT 1
275
- Completed 500 Internal Server Error in 12ms
276
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
277
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
278
- Processing by SearchHistoriesController#show as HTML
279
- Parameters: {"id"=>"2"}
280
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
281
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
282
- 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" = 2 LIMIT 1
283
- Completed 500 Internal Server Error in 12ms
284
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
285
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
286
- Processing by SearchHistoriesController#show as HTML
287
- Parameters: {"id"=>"1"}
288
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
289
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
290
- 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" = 2 LIMIT 1
291
- Completed 500 Internal Server Error in 12ms
292
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
293
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
294
- Processing by SearchHistoriesController#show as HTML
295
- Parameters: {"id"=>"3"}
296
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
297
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
298
- 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" = 3 LIMIT 1
299
- Completed 500 Internal Server Error in 7ms
300
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
301
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
302
- Processing by SearchHistoriesController#show as HTML
303
- Parameters: {"id"=>"2"}
304
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
305
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
306
- 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" = 3 LIMIT 1
307
- Completed 500 Internal Server Error in 7ms
308
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
309
- Processing by SearchHistoriesController#show as HTML
310
- Parameters: {"id"=>"1"}
311
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
312
- Completed 500 Internal Server Error in 6ms
313
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
314
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
315
- Processing by SearchHistoriesController#destroy as HTML
316
- Parameters: {"id"=>"100"}
317
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
318
- Completed 404 Not Found in 4ms
319
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
320
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
321
- Processing by SearchHistoriesController#destroy as HTML
322
- Parameters: {"id"=>"1"}
323
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
324
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
325
- 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 LIMIT 1
326
- Completed 500 Internal Server Error in 11ms
327
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
328
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
329
- Processing by SearchHistoriesController#destroy as HTML
330
- Parameters: {"id"=>"1"}
331
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
332
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 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 LIMIT 1
334
- Completed 500 Internal Server Error in 18ms
335
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
336
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
337
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
338
- Processing by SearchHistoriesController#destroy as HTML
339
- Parameters: {"id"=>"2"}
340
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
341
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
342
- 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 LIMIT 1
343
- Completed 500 Internal Server Error in 11ms
344
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
345
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
346
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
347
- Processing by SearchHistoriesController#destroy as HTML
348
- Parameters: {"id"=>"2"}
349
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
350
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
351
- 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 LIMIT 1
352
- Completed 500 Internal Server Error in 61ms
353
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
354
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
355
- Processing by SearchHistoriesController#destroy as HTML
356
- Parameters: {"id"=>"2"}
357
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
358
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
359
- 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" = 2 LIMIT 1
360
- Completed 500 Internal Server Error in 11ms
361
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
362
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
363
- Processing by SearchHistoriesController#destroy as HTML
364
- Parameters: {"id"=>"2"}
365
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
366
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
367
- 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" = 2 LIMIT 1
368
- Completed 500 Internal Server Error in 11ms
369
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
370
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
371
- Processing by SearchHistoriesController#destroy as HTML
372
- Parameters: {"id"=>"1"}
373
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
374
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
375
- 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" = 2 LIMIT 1
376
- Completed 500 Internal Server Error in 12ms
377
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
378
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
379
- Processing by SearchHistoriesController#destroy as HTML
380
- Parameters: {"id"=>"1"}
381
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
382
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
383
- 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" = 2 LIMIT 1
384
- Completed 500 Internal Server Error in 11ms
385
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
386
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
387
- Processing by SearchHistoriesController#destroy as HTML
388
- Parameters: {"id"=>"3"}
389
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
390
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
391
- 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" = 3 LIMIT 1
392
- Completed 500 Internal Server Error in 8ms
393
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
394
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
395
- Processing by SearchHistoriesController#destroy as HTML
396
- Parameters: {"id"=>"3"}
397
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
398
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
399
- 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" = 3 LIMIT 1
400
- Completed 500 Internal Server Error in 7ms
401
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
402
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
403
- Processing by SearchHistoriesController#destroy as HTML
404
- Parameters: {"id"=>"2"}
405
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
406
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
407
- 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" = 3 LIMIT 1
408
- Completed 500 Internal Server Error in 8ms
409
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
410
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
411
- Processing by SearchHistoriesController#destroy as HTML
412
- Parameters: {"id"=>"2"}
413
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
414
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
415
- 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" = 3 LIMIT 1
416
- Completed 500 Internal Server Error in 7ms
417
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
418
- Processing by SearchHistoriesController#destroy as HTML
419
- Parameters: {"id"=>"1"}
420
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
421
- Completed 500 Internal Server Error in 6ms
422
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
423
- Processing by SearchHistoriesController#destroy as HTML
424
- Parameters: {"id"=>"1"}
425
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
426
- Completed 500 Internal Server Error in 6ms
427
- Fixture Delete (0.3ms) DELETE FROM "roles"
428
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:53:20', '2012-01-06 02:53:20')
429
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:53:20', '2012-01-06 02:53:20')
430
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:53:20', '2012-01-06 02:53:20')
431
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:53:20', '2012-01-06 02:53:20')
432
- Fixture Delete (0.1ms) DELETE FROM "search_histories"
433
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
434
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
435
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
436
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
437
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
438
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 135138680)
439
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 344583537)
440
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 206669143)
441
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 226540757)
442
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 358143215)
443
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 576709754)
444
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:53:20', '2012-01-06 02:53:20', 1010528733)
445
- Fixture Delete (0.2ms) DELETE FROM "users"
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: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)
447
- 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)
448
- 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)
449
- 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)
450
- 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)
451
- 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)
452
- 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)
453
- User Load (5.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
454
- Processing by SearchHistoriesController#index as HTML
455
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
456
- 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 LIMIT 1
457
- Completed 500 Internal Server Error in 114ms
458
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
459
- Processing by SearchHistoriesController#index as HTML
460
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
461
- 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" = 2 LIMIT 1
462
- Completed 500 Internal Server Error in 8ms
463
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
464
- Processing by SearchHistoriesController#index as HTML
465
- Parameters: {"mode"=>"not_found"}
466
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
467
- 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" = 2 LIMIT 1
468
- Completed 500 Internal Server Error in 8ms
469
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
470
- Processing by SearchHistoriesController#index as HTML
471
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
472
- 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" = 3 LIMIT 1
473
- Completed 500 Internal Server Error in 15ms
474
- Processing by SearchHistoriesController#index as HTML
475
- Completed 500 Internal Server Error in 15ms
476
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
477
- Processing by SearchHistoriesController#index as HTML
478
- Parameters: {"user_id"=>"admin"}
479
- Completed 500 Internal Server Error in 60ms
480
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
481
- SearchHistory Load (0.2ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
482
- Processing by SearchHistoriesController#show as HTML
483
- Parameters: {"id"=>"100"}
484
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
485
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
486
- Completed 500 Internal Server Error in 12ms
487
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
488
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
489
- Processing by SearchHistoriesController#show as HTML
490
- Parameters: {"id"=>"1"}
491
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
492
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
493
- 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 LIMIT 1
494
- Completed 500 Internal Server Error in 13ms
495
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
496
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
497
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
498
- Processing by SearchHistoriesController#show as HTML
499
- Parameters: {"id"=>"2"}
500
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
501
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
502
- 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 LIMIT 1
503
- Completed 500 Internal Server Error in 11ms
504
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
505
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
506
- Processing by SearchHistoriesController#show as HTML
507
- Parameters: {"id"=>"2"}
508
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
509
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
510
- 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" = 2 LIMIT 1
511
- Completed 500 Internal Server Error in 11ms
512
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
513
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
514
- Processing by SearchHistoriesController#show as HTML
515
- Parameters: {"id"=>"1"}
516
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
517
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
518
- 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" = 2 LIMIT 1
519
- Completed 500 Internal Server Error in 11ms
520
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
521
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
522
- Processing by SearchHistoriesController#show as HTML
523
- Parameters: {"id"=>"3"}
524
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
525
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
526
- 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" = 3 LIMIT 1
527
- Completed 500 Internal Server Error in 10ms
528
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
529
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
530
- Processing by SearchHistoriesController#show as HTML
531
- Parameters: {"id"=>"2"}
532
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
533
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
534
- 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" = 3 LIMIT 1
535
- Completed 500 Internal Server Error in 10ms
536
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
537
- Processing by SearchHistoriesController#show as HTML
538
- Parameters: {"id"=>"1"}
539
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
540
- Completed 500 Internal Server Error in 8ms
541
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
542
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
543
- Processing by SearchHistoriesController#destroy as HTML
544
- Parameters: {"id"=>"100"}
545
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
546
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
547
- Completed 500 Internal Server Error in 10ms
548
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
549
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
550
- Processing by SearchHistoriesController#destroy as HTML
551
- Parameters: {"id"=>"1"}
552
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
553
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
554
- 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 LIMIT 1
555
- Completed 500 Internal Server Error in 65ms
556
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
557
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
558
- Processing by SearchHistoriesController#destroy as HTML
559
- Parameters: {"id"=>"1"}
560
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
561
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
562
- 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 LIMIT 1
563
- Completed 500 Internal Server Error in 13ms
564
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
565
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
566
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
567
- Processing by SearchHistoriesController#destroy as HTML
568
- Parameters: {"id"=>"2"}
569
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
570
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
571
- 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 LIMIT 1
572
- Completed 500 Internal Server Error in 11ms
573
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
574
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
575
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
576
- Processing by SearchHistoriesController#destroy as HTML
577
- Parameters: {"id"=>"2"}
578
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
579
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
580
- 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 LIMIT 1
581
- Completed 500 Internal Server Error in 15ms
582
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
583
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
584
- Processing by SearchHistoriesController#destroy as HTML
585
- Parameters: {"id"=>"2"}
586
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
587
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
588
- 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" = 2 LIMIT 1
589
- Completed 500 Internal Server Error in 11ms
590
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
591
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
592
- Processing by SearchHistoriesController#destroy as HTML
593
- Parameters: {"id"=>"2"}
594
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
595
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
596
- 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" = 2 LIMIT 1
597
- Completed 500 Internal Server Error in 15ms
598
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
599
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
600
- Processing by SearchHistoriesController#destroy as HTML
601
- Parameters: {"id"=>"1"}
602
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
603
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
604
- 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" = 2 LIMIT 1
605
- Completed 500 Internal Server Error in 14ms
606
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
607
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
608
- Processing by SearchHistoriesController#destroy as HTML
609
- Parameters: {"id"=>"1"}
610
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
611
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
612
- 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" = 2 LIMIT 1
613
- Completed 500 Internal Server Error in 11ms
614
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
615
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
616
- Processing by SearchHistoriesController#destroy as HTML
617
- Parameters: {"id"=>"3"}
618
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
619
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
620
- 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" = 3 LIMIT 1
621
- Completed 500 Internal Server Error in 10ms
622
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
623
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
624
- Processing by SearchHistoriesController#destroy as HTML
625
- Parameters: {"id"=>"3"}
626
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
627
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
628
- 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" = 3 LIMIT 1
629
- Completed 500 Internal Server Error in 10ms
630
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
631
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
632
- Processing by SearchHistoriesController#destroy as HTML
633
- Parameters: {"id"=>"2"}
634
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
635
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
636
- 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" = 3 LIMIT 1
637
- Completed 500 Internal Server Error in 10ms
638
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
639
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
640
- Processing by SearchHistoriesController#destroy as HTML
641
- Parameters: {"id"=>"2"}
642
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
643
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
644
- 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" = 3 LIMIT 1
645
- Completed 500 Internal Server Error in 13ms
646
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
647
- Processing by SearchHistoriesController#destroy as HTML
648
- Parameters: {"id"=>"1"}
649
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
650
- Completed 500 Internal Server Error in 8ms
651
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
652
- Processing by SearchHistoriesController#destroy as HTML
653
- Parameters: {"id"=>"1"}
654
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
655
- Completed 500 Internal Server Error in 10ms
656
- Fixture Delete (0.4ms) DELETE FROM "roles"
657
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:54:23', '2012-01-06 02:54:23')
658
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:54:23', '2012-01-06 02:54:23')
659
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:54:23', '2012-01-06 02:54:23')
660
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:54:23', '2012-01-06 02:54:23')
661
- Fixture Delete (0.2ms) DELETE FROM "search_histories"
662
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
663
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
664
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
665
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
666
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
667
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 135138680)
668
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 344583537)
669
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 206669143)
670
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 226540757)
671
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 358143215)
672
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 576709754)
673
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:54:23', '2012-01-06 02:54:23', 1010528733)
674
- Fixture Delete (0.2ms) DELETE FROM "users"
675
- 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: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)
676
- 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)
677
- 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)
678
- 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)
679
- 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)
680
- 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)
681
- 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)
682
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
683
- Processing by SearchHistoriesController#index as HTML
684
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
685
- 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 LIMIT 1
686
- Completed 500 Internal Server Error in 56ms
687
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
688
- Processing by SearchHistoriesController#index as HTML
689
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
690
- 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" = 2 LIMIT 1
691
- Completed 500 Internal Server Error in 5ms
692
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
693
- Processing by SearchHistoriesController#index as HTML
694
- Parameters: {"mode"=>"not_found"}
695
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
696
- 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" = 2 LIMIT 1
697
- Completed 500 Internal Server Error in 4ms
698
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
699
- Processing by SearchHistoriesController#index as HTML
700
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
701
- 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" = 3 LIMIT 1
702
- Completed 403 Forbidden in 62ms (Views: 57.4ms | ActiveRecord: 0.2ms)
703
- Processing by SearchHistoriesController#index as HTML
704
- Redirected to http://test.host/users/sign_in
705
- Completed 302 Found in 6ms
706
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
707
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
708
- Processing by SearchHistoriesController#index as HTML
709
- Parameters: {"user_id"=>"admin"}
710
- Redirected to http://test.host/users/sign_in
711
- Completed 302 Found in 4ms
712
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
713
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
714
- SearchHistory Load (0.2ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
715
- Processing by SearchHistoriesController#show as HTML
716
- Parameters: {"id"=>"100"}
717
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
718
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
719
- Completed 404 Not Found in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)
720
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
721
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
722
- Processing by SearchHistoriesController#show as HTML
723
- Parameters: {"id"=>"1"}
724
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
725
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
726
- 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 LIMIT 1
727
- Completed 500 Internal Server Error in 7ms
728
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
729
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
730
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
731
- Processing by SearchHistoriesController#show as HTML
732
- Parameters: {"id"=>"2"}
733
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
734
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
735
- 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 LIMIT 1
736
- Completed 500 Internal Server Error in 6ms
737
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
738
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
739
- Processing by SearchHistoriesController#show as HTML
740
- Parameters: {"id"=>"2"}
741
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
742
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
743
- 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" = 2 LIMIT 1
744
- Completed 500 Internal Server Error in 6ms
745
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
746
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
747
- Processing by SearchHistoriesController#show as HTML
748
- Parameters: {"id"=>"1"}
749
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
750
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
751
- 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" = 2 LIMIT 1
752
- Completed 500 Internal Server Error in 32ms
753
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
754
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
755
- Processing by SearchHistoriesController#show as HTML
756
- Parameters: {"id"=>"3"}
757
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
758
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
759
- 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" = 3 LIMIT 1
760
- Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
761
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
762
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
763
- Processing by SearchHistoriesController#show as HTML
764
- Parameters: {"id"=>"2"}
765
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
766
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
767
- 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" = 3 LIMIT 1
768
- Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms)
769
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
770
- Processing by SearchHistoriesController#show as HTML
771
- Parameters: {"id"=>"1"}
772
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
773
- Redirected to http://test.host/users/sign_in
774
- Completed 302 Found in 4ms
775
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
776
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
777
- Processing by SearchHistoriesController#destroy as HTML
778
- Parameters: {"id"=>"100"}
779
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
780
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
781
- Completed 404 Not Found in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)
782
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
783
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
784
- Processing by SearchHistoriesController#destroy as HTML
785
- Parameters: {"id"=>"1"}
786
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
787
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
788
- 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 LIMIT 1
789
- Completed 500 Internal Server Error in 6ms
790
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
791
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
792
- Processing by SearchHistoriesController#destroy as HTML
793
- Parameters: {"id"=>"1"}
794
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
795
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
796
- 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 LIMIT 1
797
- Completed 500 Internal Server Error in 6ms
798
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
799
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
800
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
801
- Processing by SearchHistoriesController#destroy as HTML
802
- Parameters: {"id"=>"2"}
803
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
804
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
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" = 1 LIMIT 1
806
- Completed 500 Internal Server Error in 6ms
807
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
808
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
809
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
810
- Processing by SearchHistoriesController#destroy as HTML
811
- Parameters: {"id"=>"2"}
812
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
813
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
814
- 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 LIMIT 1
815
- Completed 500 Internal Server Error in 6ms
816
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
817
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
818
- Processing by SearchHistoriesController#destroy as HTML
819
- Parameters: {"id"=>"2"}
820
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
821
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
822
- 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" = 2 LIMIT 1
823
- Completed 500 Internal Server Error in 6ms
824
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
825
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
826
- Processing by SearchHistoriesController#destroy as HTML
827
- Parameters: {"id"=>"2"}
828
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
829
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
830
- 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" = 2 LIMIT 1
831
- Completed 500 Internal Server Error in 6ms
832
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
833
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
834
- Processing by SearchHistoriesController#destroy as HTML
835
- Parameters: {"id"=>"1"}
836
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
837
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
838
- 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" = 2 LIMIT 1
839
- Completed 500 Internal Server Error in 6ms
840
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
841
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
842
- Processing by SearchHistoriesController#destroy as HTML
843
- Parameters: {"id"=>"1"}
844
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
845
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
846
- 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" = 2 LIMIT 1
847
- Completed 500 Internal Server Error in 7ms
848
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
849
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
850
- Processing by SearchHistoriesController#destroy as HTML
851
- Parameters: {"id"=>"3"}
852
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
853
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
854
- 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" = 3 LIMIT 1
855
- Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
856
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
857
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
858
- Processing by SearchHistoriesController#destroy as HTML
859
- Parameters: {"id"=>"3"}
860
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
861
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
862
- 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" = 3 LIMIT 1
863
- Completed 403 Forbidden in 35ms (Views: 0.8ms | ActiveRecord: 0.3ms)
864
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
865
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
866
- Processing by SearchHistoriesController#destroy as HTML
867
- Parameters: {"id"=>"2"}
868
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
869
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
870
- 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" = 3 LIMIT 1
871
- Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
872
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
873
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
874
- Processing by SearchHistoriesController#destroy as HTML
875
- Parameters: {"id"=>"2"}
876
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
877
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
878
- 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" = 3 LIMIT 1
879
- Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms)
880
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
881
- Processing by SearchHistoriesController#destroy as HTML
882
- Parameters: {"id"=>"1"}
883
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
884
- Redirected to http://test.host/users/sign_in
885
- Completed 302 Found in 4ms
886
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
887
- Processing by SearchHistoriesController#destroy as HTML
888
- Parameters: {"id"=>"1"}
889
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
890
- Redirected to http://test.host/users/sign_in
891
- Completed 302 Found in 4ms
892
- Fixture Delete (0.3ms) DELETE FROM "roles"
893
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:55:26', '2012-01-06 02:55:26')
894
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:55:26', '2012-01-06 02:55:26')
895
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:55:26', '2012-01-06 02:55:26')
896
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:55:26', '2012-01-06 02:55:26')
897
- Fixture Delete (0.1ms) DELETE FROM "search_histories"
898
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
899
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
900
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
901
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
902
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
903
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 135138680)
904
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 344583537)
905
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 206669143)
906
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 226540757)
907
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 358143215)
908
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 576709754)
909
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:55:26', '2012-01-06 02:55:26', 1010528733)
910
- Fixture Delete (0.2ms) DELETE FROM "users"
911
- 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)
912
- 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)
913
- 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)
914
- 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)
915
- 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)
916
- 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)
917
- 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)
918
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
919
- Processing by SearchHistoriesController#index as HTML
920
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
921
- 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 LIMIT 1
922
- Rendered /Users/kosuke/enju_search_log/app/views/search_histories/index.html.erb within layouts/application (3.6ms)
923
- Completed 200 OK in 201ms (Views: 93.3ms | ActiveRecord: 0.4ms)
924
-  (0.1ms) SELECT COUNT(*) FROM "search_histories"
925
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
926
- Processing by SearchHistoriesController#index as HTML
927
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
928
- 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" = 2 LIMIT 1
929
- Completed 500 Internal Server Error in 9ms
930
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
931
- Processing by SearchHistoriesController#index as HTML
932
- Parameters: {"mode"=>"not_found"}
933
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
934
- 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" = 2 LIMIT 1
935
- Completed 500 Internal Server Error in 8ms
936
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
937
- Processing by SearchHistoriesController#index as HTML
938
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
939
- 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" = 3 LIMIT 1
940
- Completed 500 Internal Server Error in 8ms
941
- Processing by SearchHistoriesController#index as HTML
942
- Redirected to http://test.host/users/sign_in
943
- Completed 302 Found in 17ms
944
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
945
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
946
- Processing by SearchHistoriesController#index as HTML
947
- Parameters: {"user_id"=>"admin"}
948
- Redirected to http://test.host/users/sign_in
949
- Completed 302 Found in 10ms
950
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
951
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
952
- SearchHistory Load (0.3ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
953
- Processing by SearchHistoriesController#show as HTML
954
- Parameters: {"id"=>"100"}
955
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
956
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
957
- Completed 404 Not Found in 9ms (Views: 2.9ms | ActiveRecord: 0.2ms)
958
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
959
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
960
- Processing by SearchHistoriesController#show as HTML
961
- Parameters: {"id"=>"1"}
962
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
963
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
964
- 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 LIMIT 1
965
- Completed 200 OK in 30ms (Views: 21.9ms | ActiveRecord: 0.4ms)
966
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
967
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
968
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
969
- Processing by SearchHistoriesController#show as HTML
970
- Parameters: {"id"=>"2"}
971
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
972
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
973
- 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 LIMIT 1
974
- Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
975
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
976
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
977
- Processing by SearchHistoriesController#show as HTML
978
- Parameters: {"id"=>"2"}
979
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
980
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
981
- 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" = 2 LIMIT 1
982
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
983
- Completed 200 OK in 18ms (Views: 1.5ms | ActiveRecord: 0.6ms)
984
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
985
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
986
- Processing by SearchHistoriesController#show as HTML
987
- Parameters: {"id"=>"1"}
988
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
989
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
990
- 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" = 2 LIMIT 1
991
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
992
- Completed 403 Forbidden in 56ms (Views: 3.3ms | ActiveRecord: 0.6ms)
993
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
994
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
995
- Processing by SearchHistoriesController#show as HTML
996
- Parameters: {"id"=>"3"}
997
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
998
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
999
- 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" = 3 LIMIT 1
1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1001
- Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.6ms)
1002
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1003
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1004
- Processing by SearchHistoriesController#show as HTML
1005
- Parameters: {"id"=>"2"}
1006
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1007
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1008
- 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" = 3 LIMIT 1
1009
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1010
- Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.6ms)
1011
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1012
- Processing by SearchHistoriesController#show as HTML
1013
- Parameters: {"id"=>"1"}
1014
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1015
- Redirected to http://test.host/users/sign_in
1016
- Completed 302 Found in 7ms
1017
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1018
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1019
- Processing by SearchHistoriesController#destroy as HTML
1020
- Parameters: {"id"=>"100"}
1021
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1022
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
1023
- Completed 404 Not Found in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1024
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1025
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1026
- Processing by SearchHistoriesController#destroy as HTML
1027
- Parameters: {"id"=>"1"}
1028
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1029
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1030
- 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 LIMIT 1
1031
-  (0.0ms) SAVEPOINT active_record_1
1032
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1033
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1034
- Redirected to http://test.host/search_histories
1035
- Completed 302 Found in 9ms
1036
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1037
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1038
- Processing by SearchHistoriesController#destroy as HTML
1039
- Parameters: {"id"=>"1"}
1040
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1041
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1042
- 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 LIMIT 1
1043
-  (0.0ms) SAVEPOINT active_record_1
1044
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1045
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1046
- Redirected to http://test.host/search_histories
1047
- Completed 302 Found in 16ms
1048
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1049
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1050
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1051
- Processing by SearchHistoriesController#destroy as HTML
1052
- Parameters: {"id"=>"2"}
1053
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1054
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1055
- 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 LIMIT 1
1056
-  (0.0ms) SAVEPOINT active_record_1
1057
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1058
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1059
- Redirected to http://test.host/search_histories
1060
- Completed 302 Found in 13ms
1061
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1062
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1063
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1064
- Processing by SearchHistoriesController#destroy as HTML
1065
- Parameters: {"id"=>"2"}
1066
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1067
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1068
- 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 LIMIT 1
1069
-  (0.0ms) SAVEPOINT active_record_1
1070
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1071
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
- Redirected to http://test.host/search_histories
1073
- Completed 302 Found in 9ms
1074
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1075
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1076
- Processing by SearchHistoriesController#destroy as HTML
1077
- Parameters: {"id"=>"2"}
1078
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1079
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1080
- 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" = 2 LIMIT 1
1081
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1082
-  (0.0ms) SAVEPOINT active_record_1
1083
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1084
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1085
- Redirected to http://test.host/search_histories
1086
- Completed 302 Found in 10ms
1087
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1088
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1089
- Processing by SearchHistoriesController#destroy as HTML
1090
- Parameters: {"id"=>"2"}
1091
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1092
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1093
- 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" = 2 LIMIT 1
1094
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1095
-  (0.0ms) SAVEPOINT active_record_1
1096
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1097
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1098
- Redirected to http://test.host/search_histories
1099
- Completed 302 Found in 12ms
1100
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1101
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1102
- Processing by SearchHistoriesController#destroy as HTML
1103
- Parameters: {"id"=>"1"}
1104
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1105
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1106
- 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" = 2 LIMIT 1
1107
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1108
- Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1109
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1110
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1111
- Processing by SearchHistoriesController#destroy as HTML
1112
- Parameters: {"id"=>"1"}
1113
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1114
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1115
- 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" = 2 LIMIT 1
1116
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1117
- Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms)
1118
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1119
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1120
- Processing by SearchHistoriesController#destroy as HTML
1121
- Parameters: {"id"=>"3"}
1122
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1123
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1124
- 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" = 3 LIMIT 1
1125
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1126
-  (0.0ms) SAVEPOINT active_record_1
1127
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1128
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1129
- Redirected to http://test.host/search_histories
1130
- Completed 302 Found in 13ms
1131
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1132
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1133
- Processing by SearchHistoriesController#destroy as HTML
1134
- Parameters: {"id"=>"3"}
1135
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1136
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1137
- 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" = 3 LIMIT 1
1138
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1139
-  (0.0ms) SAVEPOINT active_record_1
1140
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1141
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1142
- Redirected to http://test.host/search_histories
1143
- Completed 302 Found in 15ms
1144
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1145
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1146
- Processing by SearchHistoriesController#destroy as HTML
1147
- Parameters: {"id"=>"2"}
1148
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1149
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1150
- 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" = 3 LIMIT 1
1151
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1152
- Completed 403 Forbidden in 57ms (Views: 1.5ms | ActiveRecord: 0.6ms)
1153
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1154
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1155
- Processing by SearchHistoriesController#destroy as HTML
1156
- Parameters: {"id"=>"2"}
1157
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1158
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1159
- 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" = 3 LIMIT 1
1160
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1161
- Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1162
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1163
- Processing by SearchHistoriesController#destroy as HTML
1164
- Parameters: {"id"=>"1"}
1165
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1166
- Redirected to http://test.host/users/sign_in
1167
- Completed 302 Found in 7ms
1168
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1169
- Processing by SearchHistoriesController#destroy as HTML
1170
- Parameters: {"id"=>"1"}
1171
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1172
- Redirected to http://test.host/users/sign_in
1173
- Completed 302 Found in 7ms
1174
- Fixture Delete (0.4ms) DELETE FROM "roles"
1175
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 02:57:12', '2012-01-06 02:57:12')
1176
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 02:57:12', '2012-01-06 02:57:12')
1177
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 02:57:12', '2012-01-06 02:57:12')
1178
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 02:57:12', '2012-01-06 02:57:12')
1179
- Fixture Delete (0.2ms) DELETE FROM "search_histories"
1180
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
1181
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
1182
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
1183
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
1184
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
1185
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 135138680)
1186
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 344583537)
1187
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 206669143)
1188
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 226540757)
1189
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 358143215)
1190
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 576709754)
1191
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 02:57:12', '2012-01-06 02:57:12', 1010528733)
1192
- Fixture Delete (0.2ms) DELETE FROM "users"
1193
- 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)
1194
- 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)
1195
- 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)
1196
- 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)
1197
- 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)
1198
- 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)
1199
- 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)
1200
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1201
- Processing by SearchHistoriesController#index as HTML
1202
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1203
- 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 LIMIT 1
1204
- Rendered /Users/kosuke/enju_search_log/app/views/search_histories/index.html.erb within layouts/application (42.1ms)
1205
- Completed 200 OK in 180ms (Views: 64.2ms | ActiveRecord: 0.3ms)
1206
-  (0.1ms) SELECT COUNT(*) FROM "search_histories"
1207
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1208
- Processing by SearchHistoriesController#index as HTML
1209
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1210
- 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" = 2 LIMIT 1
1211
- Completed 200 OK in 54ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1212
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1213
- Processing by SearchHistoriesController#index as HTML
1214
- Parameters: {"mode"=>"not_found"}
1215
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1216
- 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" = 2 LIMIT 1
1217
- Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1218
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1219
- Processing by SearchHistoriesController#index as HTML
1220
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1221
- 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" = 3 LIMIT 1
1222
- Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1223
- Processing by SearchHistoriesController#index as HTML
1224
- Redirected to http://test.host/users/sign_in
1225
- Completed 302 Found in 10ms
1226
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
1227
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1228
- Processing by SearchHistoriesController#index as HTML
1229
- Parameters: {"user_id"=>"admin"}
1230
- Redirected to http://test.host/users/sign_in
1231
- Completed 302 Found in 6ms
1232
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
1233
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1234
- SearchHistory Load (0.3ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1235
- Processing by SearchHistoriesController#show as HTML
1236
- Parameters: {"id"=>"100"}
1237
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1238
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
1239
- Completed 404 Not Found in 7ms (Views: 1.8ms | ActiveRecord: 0.2ms)
1240
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1241
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1242
- Processing by SearchHistoriesController#show as HTML
1243
- Parameters: {"id"=>"1"}
1244
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1245
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1246
- 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 LIMIT 1
1247
- Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 0.4ms)
1248
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1249
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1250
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1251
- Processing by SearchHistoriesController#show as HTML
1252
- Parameters: {"id"=>"2"}
1253
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1254
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1255
- 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 LIMIT 1
1256
- Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
1257
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1258
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1259
- Processing by SearchHistoriesController#show as HTML
1260
- Parameters: {"id"=>"2"}
1261
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1262
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1263
- Role Load (3.5ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
1264
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1265
- Completed 200 OK in 67ms (Views: 1.3ms | ActiveRecord: 4.0ms)
1266
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1267
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1268
- Processing by SearchHistoriesController#show as HTML
1269
- Parameters: {"id"=>"1"}
1270
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1271
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1272
- 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" = 2 LIMIT 1
1273
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1274
- Completed 403 Forbidden in 16ms (Views: 5.7ms | ActiveRecord: 0.5ms)
1275
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1276
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1277
- Processing by SearchHistoriesController#show as HTML
1278
- Parameters: {"id"=>"3"}
1279
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1280
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1281
- 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" = 3 LIMIT 1
1282
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1283
- Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.5ms)
1284
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1285
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1286
- Processing by SearchHistoriesController#show as HTML
1287
- Parameters: {"id"=>"2"}
1288
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1289
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1290
- 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" = 3 LIMIT 1
1291
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1292
- Completed 403 Forbidden in 13ms (Views: 1.6ms | ActiveRecord: 0.5ms)
1293
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1294
- Processing by SearchHistoriesController#show as HTML
1295
- Parameters: {"id"=>"1"}
1296
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1297
- Redirected to http://test.host/users/sign_in
1298
- Completed 302 Found in 7ms
1299
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1300
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1301
- Processing by SearchHistoriesController#destroy as HTML
1302
- Parameters: {"id"=>"100"}
1303
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1304
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
1305
- Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1306
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1307
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1308
- Processing by SearchHistoriesController#destroy as HTML
1309
- Parameters: {"id"=>"1"}
1310
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1311
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1312
- 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 LIMIT 1
1313
-  (0.0ms) SAVEPOINT active_record_1
1314
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1315
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1316
- Redirected to http://test.host/search_histories
1317
- Completed 302 Found in 9ms
1318
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1319
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1320
- Processing by SearchHistoriesController#destroy as HTML
1321
- Parameters: {"id"=>"1"}
1322
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1323
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1324
- 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 LIMIT 1
1325
-  (0.0ms) SAVEPOINT active_record_1
1326
- SQL (0.4ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1327
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1328
- Redirected to http://test.host/search_histories
1329
- Completed 302 Found in 10ms
1330
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1331
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1332
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1333
- Processing by SearchHistoriesController#destroy as HTML
1334
- Parameters: {"id"=>"2"}
1335
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1336
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1337
- 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 LIMIT 1
1338
-  (0.0ms) SAVEPOINT active_record_1
1339
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1340
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1341
- Redirected to http://test.host/search_histories
1342
- Completed 302 Found in 13ms
1343
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1344
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1345
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1346
- Processing by SearchHistoriesController#destroy as HTML
1347
- Parameters: {"id"=>"2"}
1348
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1349
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1350
- 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 LIMIT 1
1351
-  (0.0ms) SAVEPOINT active_record_1
1352
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1353
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1354
- Redirected to http://test.host/search_histories
1355
- Completed 302 Found in 9ms
1356
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1357
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1358
- Processing by SearchHistoriesController#destroy as HTML
1359
- Parameters: {"id"=>"2"}
1360
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1361
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1362
- 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" = 2 LIMIT 1
1363
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1364
-  (0.0ms) SAVEPOINT active_record_1
1365
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1366
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1367
- Redirected to http://test.host/search_histories
1368
- Completed 302 Found in 16ms
1369
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1370
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1371
- Processing by SearchHistoriesController#destroy as HTML
1372
- Parameters: {"id"=>"2"}
1373
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1374
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1375
- 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" = 2 LIMIT 1
1376
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1377
-  (0.0ms) SAVEPOINT active_record_1
1378
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1379
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1380
- Redirected to http://test.host/search_histories
1381
- Completed 302 Found in 11ms
1382
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1383
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1384
- Processing by SearchHistoriesController#destroy as HTML
1385
- Parameters: {"id"=>"1"}
1386
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1387
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1388
- 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" = 2 LIMIT 1
1389
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1390
- Completed 403 Forbidden in 11ms (Views: 2.4ms | ActiveRecord: 0.5ms)
1391
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1392
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1393
- Processing by SearchHistoriesController#destroy as HTML
1394
- Parameters: {"id"=>"1"}
1395
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1396
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1397
- 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" = 2 LIMIT 1
1398
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1399
- Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.5ms)
1400
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1401
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1402
- Processing by SearchHistoriesController#destroy as HTML
1403
- Parameters: {"id"=>"3"}
1404
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1405
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1406
- 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" = 3 LIMIT 1
1407
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1408
-  (0.0ms) SAVEPOINT active_record_1
1409
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1410
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1411
- Redirected to http://test.host/search_histories
1412
- Completed 302 Found in 56ms
1413
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1414
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1415
- Processing by SearchHistoriesController#destroy as HTML
1416
- Parameters: {"id"=>"3"}
1417
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1418
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1419
- 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" = 3 LIMIT 1
1420
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1421
-  (0.0ms) SAVEPOINT active_record_1
1422
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1423
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1424
- Redirected to http://test.host/search_histories
1425
- Completed 302 Found in 10ms
1426
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1427
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1428
- Processing by SearchHistoriesController#destroy as HTML
1429
- Parameters: {"id"=>"2"}
1430
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1431
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1432
- 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" = 3 LIMIT 1
1433
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1434
- Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1435
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1436
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1437
- Processing by SearchHistoriesController#destroy as HTML
1438
- Parameters: {"id"=>"2"}
1439
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1440
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1441
- 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" = 3 LIMIT 1
1442
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1443
- Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1444
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1445
- Processing by SearchHistoriesController#destroy as HTML
1446
- Parameters: {"id"=>"1"}
1447
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1448
- Redirected to http://test.host/users/sign_in
1449
- Completed 302 Found in 7ms
1450
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1451
- Processing by SearchHistoriesController#destroy as HTML
1452
- Parameters: {"id"=>"1"}
1453
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1454
- Redirected to http://test.host/users/sign_in
1455
- Completed 302 Found in 7ms
1456
- Fixture Delete (0.3ms) DELETE FROM "roles"
1457
- Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-06 03:03:47', '2012-01-06 03:03:47')
1458
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-06 03:03:47', '2012-01-06 03:03:47')
1459
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-06 03:03:47', '2012-01-06 03:03:47')
1460
- Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-06 03:03:47', '2012-01-06 03:03:47')
1461
- Fixture Delete (0.1ms) DELETE FROM "search_histories"
1462
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (1, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 1)
1463
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (2, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 2)
1464
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (3, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', 3)
1465
- Fixture Insert (0.1ms) INSERT INTO "search_histories" ("id", "operation", "sru_version", "query", "start_record", "maximum_records", "record_packing", "record_schema", "result_set_ttl", "stylesheet", "extra_request_data", "created_at", "updated_at", "user_id") VALUES (4, 'MyString', 1.2, 'MyString', 1, 1, 'MyString', 'MyString', 1, 'MyString', 'MyString', '2007-10-13 11:28:02.000000', '2007-10-13 11:28:02.000000', NULL)
1466
- Fixture Delete (0.1ms) DELETE FROM "user_has_roles"
1467
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 135138680)
1468
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 344583537)
1469
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 206669143)
1470
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 226540757)
1471
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 358143215)
1472
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 576709754)
1473
- Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-06 03:03:47', '2012-01-06 03:03:47', 1010528733)
1474
- Fixture Delete (0.2ms) DELETE FROM "users"
1475
- 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)
1476
- 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)
1477
- 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)
1478
- 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)
1479
- 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)
1480
- 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)
1481
- 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)
1482
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1483
- Processing by SearchHistoriesController#index as HTML
1484
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1485
- 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 LIMIT 1
1486
- Rendered /Users/kosuke/enju_search_log/app/views/search_histories/index.html.erb within layouts/application (4.3ms)
1487
- Completed 200 OK in 206ms (Views: 76.8ms | ActiveRecord: 0.4ms)
1488
-  (0.1ms) SELECT COUNT(*) FROM "search_histories"
1489
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1490
- Processing by SearchHistoriesController#index as HTML
1491
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1492
- 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" = 2 LIMIT 1
1493
- Completed 200 OK in 22ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1494
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1495
- Processing by SearchHistoriesController#index as HTML
1496
- Parameters: {"mode"=>"not_found"}
1497
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1498
- 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" = 2 LIMIT 1
1499
- Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms)
1500
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1501
- Processing by SearchHistoriesController#index as HTML
1502
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1503
- 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" = 3 LIMIT 1
1504
- Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1505
- Processing by SearchHistoriesController#index as HTML
1506
- Redirected to http://test.host/users/sign_in
1507
- Completed 302 Found in 11ms
1508
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
1509
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1510
- Processing by SearchHistoriesController#index as HTML
1511
- Parameters: {"user_id"=>"admin"}
1512
- Redirected to http://test.host/users/sign_in
1513
- Completed 302 Found in 9ms
1514
-  (0.1ms) SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
1515
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1516
- SearchHistory Load (0.2ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1517
- Processing by SearchHistoriesController#show as HTML
1518
- Parameters: {"id"=>"100"}
1519
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1520
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
1521
- Completed 404 Not Found in 8ms (Views: 2.5ms | ActiveRecord: 0.2ms)
1522
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1523
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1524
- Processing by SearchHistoriesController#show as HTML
1525
- Parameters: {"id"=>"1"}
1526
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1527
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1528
- 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 LIMIT 1
1529
- Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 0.4ms)
1530
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1531
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1532
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1533
- Processing by SearchHistoriesController#show as HTML
1534
- Parameters: {"id"=>"2"}
1535
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1536
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1537
- 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 LIMIT 1
1538
- Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
1539
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1540
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1541
- Processing by SearchHistoriesController#show as HTML
1542
- Parameters: {"id"=>"2"}
1543
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1544
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1545
- 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" = 2 LIMIT 1
1546
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1547
- Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 0.6ms)
1548
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1549
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1550
- Processing by SearchHistoriesController#show as HTML
1551
- Parameters: {"id"=>"1"}
1552
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1553
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1554
- 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" = 2 LIMIT 1
1555
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1556
- Completed 403 Forbidden in 18ms (Views: 1.9ms | ActiveRecord: 0.5ms)
1557
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1558
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1559
- Processing by SearchHistoriesController#show as HTML
1560
- Parameters: {"id"=>"3"}
1561
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1562
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1563
- 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" = 3 LIMIT 1
1564
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1565
- Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.6ms)
1566
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1567
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1568
- Processing by SearchHistoriesController#show as HTML
1569
- Parameters: {"id"=>"2"}
1570
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1571
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1572
- 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" = 3 LIMIT 1
1573
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1574
- Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.6ms)
1575
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1576
- Processing by SearchHistoriesController#show as HTML
1577
- Parameters: {"id"=>"1"}
1578
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1579
- Redirected to http://test.host/users/sign_in
1580
- Completed 302 Found in 7ms
1581
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1582
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1583
- Processing by SearchHistoriesController#destroy as HTML
1584
- Parameters: {"id"=>"100"}
1585
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1586
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
1587
- Completed 404 Not Found in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms)
1588
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1589
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1590
- Processing by SearchHistoriesController#destroy as HTML
1591
- Parameters: {"id"=>"1"}
1592
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1593
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1594
- 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 LIMIT 1
1595
-  (0.0ms) SAVEPOINT active_record_1
1596
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1597
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
- Redirected to http://test.host/search_histories
1599
- Completed 302 Found in 13ms
1600
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1601
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1602
- Processing by SearchHistoriesController#destroy as HTML
1603
- Parameters: {"id"=>"1"}
1604
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1605
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1606
- 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 LIMIT 1
1607
-  (0.0ms) SAVEPOINT active_record_1
1608
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
1609
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1610
- Redirected to http://test.host/search_histories
1611
- Completed 302 Found in 9ms
1612
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1613
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1614
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1615
- Processing by SearchHistoriesController#destroy as HTML
1616
- Parameters: {"id"=>"2"}
1617
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1618
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1619
- 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 LIMIT 1
1620
-  (0.0ms) SAVEPOINT active_record_1
1621
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1622
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1623
- Redirected to http://test.host/search_histories
1624
- Completed 302 Found in 16ms
1625
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1626
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1627
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1628
- Processing by SearchHistoriesController#destroy as HTML
1629
- Parameters: {"id"=>"2"}
1630
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1631
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1632
- 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 LIMIT 1
1633
-  (0.0ms) SAVEPOINT active_record_1
1634
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1635
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1636
- Redirected to http://test.host/search_histories
1637
- Completed 302 Found in 10ms
1638
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1639
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1640
- Processing by SearchHistoriesController#destroy as HTML
1641
- Parameters: {"id"=>"2"}
1642
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1643
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1644
- 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" = 2 LIMIT 1
1645
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1646
-  (0.1ms) SAVEPOINT active_record_1
1647
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1648
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1649
- Redirected to http://test.host/search_histories
1650
- Completed 302 Found in 13ms
1651
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1652
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1653
- Processing by SearchHistoriesController#destroy as HTML
1654
- Parameters: {"id"=>"2"}
1655
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1656
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1657
- 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" = 2 LIMIT 1
1658
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1659
-  (0.0ms) SAVEPOINT active_record_1
1660
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
1661
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1662
- Redirected to http://test.host/search_histories
1663
- Completed 302 Found in 10ms
1664
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1665
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1666
- Processing by SearchHistoriesController#destroy as HTML
1667
- Parameters: {"id"=>"1"}
1668
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1669
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1670
- 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" = 2 LIMIT 1
1671
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1672
- Completed 403 Forbidden in 62ms (Views: 1.2ms | ActiveRecord: 0.6ms)
1673
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1674
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1675
- Processing by SearchHistoriesController#destroy as HTML
1676
- Parameters: {"id"=>"1"}
1677
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1678
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1679
- 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" = 2 LIMIT 1
1680
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1681
- Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1682
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1683
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1684
- Processing by SearchHistoriesController#destroy as HTML
1685
- Parameters: {"id"=>"3"}
1686
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1687
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1688
- 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" = 3 LIMIT 1
1689
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1690
-  (0.0ms) SAVEPOINT active_record_1
1691
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1692
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1693
- Redirected to http://test.host/search_histories
1694
- Completed 302 Found in 12ms
1695
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1696
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
1697
- Processing by SearchHistoriesController#destroy as HTML
1698
- Parameters: {"id"=>"3"}
1699
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1700
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
1701
- 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" = 3 LIMIT 1
1702
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1703
-  (0.0ms) SAVEPOINT active_record_1
1704
- SQL (0.3ms) DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
1705
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1706
- Redirected to http://test.host/search_histories
1707
- Completed 302 Found in 10ms
1708
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1709
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1710
- Processing by SearchHistoriesController#destroy as HTML
1711
- Parameters: {"id"=>"2"}
1712
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1713
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1714
- 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" = 3 LIMIT 1
1715
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1716
- Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms)
1717
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1718
- SearchHistory Load (0.0ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
1719
- Processing by SearchHistoriesController#destroy as HTML
1720
- Parameters: {"id"=>"2"}
1721
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1722
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
1723
- 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" = 3 LIMIT 1
1724
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1725
- Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)
1726
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1727
- Processing by SearchHistoriesController#destroy as HTML
1728
- Parameters: {"id"=>"1"}
1729
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1730
- Redirected to http://test.host/users/sign_in
1731
- Completed 302 Found in 7ms
1732
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
1733
- Processing by SearchHistoriesController#destroy as HTML
1734
- Parameters: {"id"=>"1"}
1735
- SearchHistory Load (0.1ms) SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
1736
- Redirected to http://test.host/users/sign_in
1737
- Completed 302 Found in 7ms