enju_search_log 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +45 -0
- data/app/controllers/search_histories_controller.rb +48 -0
- data/app/helpers/search_histories_helper.rb +32 -0
- data/app/models/search_history.rb +42 -0
- data/app/views/search_histories/edit.html.erb +74 -0
- data/app/views/search_histories/index.html.erb +56 -0
- data/app/views/search_histories/new.html.erb +10 -0
- data/app/views/search_histories/show.html.erb +73 -0
- data/config/locales/translation_en.yml +31 -0
- data/config/locales/translation_ja.yml +31 -0
- data/config/routes.rb +3 -0
- data/db/migrate/090_create_search_histories.rb +31 -0
- data/db/migrate/20100623173800_rename_search_history_version_to_sru_version.rb +9 -0
- data/lib/enju_search_log.rb +16 -0
- data/lib/enju_search_log/engine.rb +8 -0
- data/lib/enju_search_log/version.rb +3 -0
- data/lib/tasks/enju_search_log_tasks.rake +4 -0
- data/spec/controllers/search_histories_controller_spec.rb +303 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +9 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +62 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/ability.rb +20 -0
- data/spec/dummy/app/models/role.rb +5 -0
- data/spec/dummy/app/models/user.rb +27 -0
- data/spec/dummy/app/models/user_has_role.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/page/403.html.erb +9 -0
- data/spec/dummy/app/views/page/403.xml.erb +4 -0
- data/spec/dummy/app/views/page/404.html.erb +9 -0
- data/spec/dummy/app/views/page/404.xml.erb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +209 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/db/migrate/20111201121844_create_roles.rb +12 -0
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +13 -0
- data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +31 -0
- data/spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb +10 -0
- data/spec/dummy/db/schema.rb +81 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +1737 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/fixtures/roles.yml +21 -0
- data/spec/fixtures/search_histories.yml +90 -0
- data/spec/fixtures/user_has_roles.yml +41 -0
- data/spec/fixtures/users.yml +69 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/support/controller_macros.rb +48 -0
- data/spec/support/devise.rb +4 -0
- metadata +245 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '2e8d35be27a1f6566ade544db7d75e64e3b05df37ee43f7379a9f76a717f717b58a40ce7dadd1649ba68ebde4a44a6afe53503236cbb62577ae954b10ed2f4c9'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
devise_for :users
|
3
|
+
|
4
|
+
# The priority is based upon order of creation:
|
5
|
+
# first created -> highest priority.
|
6
|
+
|
7
|
+
# Sample of regular route:
|
8
|
+
# match 'products/:id' => 'catalog#view'
|
9
|
+
# Keep in mind you can assign values other than :controller and :action
|
10
|
+
|
11
|
+
# Sample of named route:
|
12
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
13
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
14
|
+
|
15
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
16
|
+
# resources :products
|
17
|
+
|
18
|
+
# Sample resource route with options:
|
19
|
+
# resources :products do
|
20
|
+
# member do
|
21
|
+
# get 'short'
|
22
|
+
# post 'toggle'
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# collection do
|
26
|
+
# get 'sold'
|
27
|
+
# end
|
28
|
+
# end
|
29
|
+
|
30
|
+
# Sample resource route with sub-resources:
|
31
|
+
# resources :products do
|
32
|
+
# resources :comments, :sales
|
33
|
+
# resource :seller
|
34
|
+
# end
|
35
|
+
|
36
|
+
# Sample resource route with more complex sub-resources
|
37
|
+
# resources :products do
|
38
|
+
# resources :comments
|
39
|
+
# resources :sales do
|
40
|
+
# get 'recent', :on => :collection
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
|
44
|
+
# Sample resource route within a namespace:
|
45
|
+
# namespace :admin do
|
46
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
47
|
+
# # (app/controllers/admin/products_controller.rb)
|
48
|
+
# resources :products
|
49
|
+
# end
|
50
|
+
|
51
|
+
# You can have the root of your site routed with "root"
|
52
|
+
# just remember to delete public/index.html.
|
53
|
+
# root :to => 'welcome#index'
|
54
|
+
|
55
|
+
# See how all your routes lay out with "rake routes"
|
56
|
+
|
57
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
58
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
59
|
+
# match ':controller(/:action(/:id(.:format)))'
|
60
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
class AddDeviseToUsers < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
change_table(:users) do |t|
|
4
|
+
t.database_authenticatable :null => false
|
5
|
+
t.recoverable
|
6
|
+
t.rememberable
|
7
|
+
t.trackable
|
8
|
+
|
9
|
+
# t.encryptable
|
10
|
+
# t.confirmable
|
11
|
+
# t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
|
12
|
+
# t.token_authenticatable
|
13
|
+
|
14
|
+
|
15
|
+
# Uncomment below if timestamps were not included in your original model.
|
16
|
+
# t.timestamps
|
17
|
+
end
|
18
|
+
|
19
|
+
add_index :users, :email #, :unique => true
|
20
|
+
add_index :users, :reset_password_token, :unique => true
|
21
|
+
# add_index :users, :confirmation_token, :unique => true
|
22
|
+
# add_index :users, :unlock_token, :unique => true
|
23
|
+
# add_index :users, :authentication_token, :unique => true
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.down
|
27
|
+
# By default, we don't want to make any assumption about how to roll back a migration when your
|
28
|
+
# model already existed. Please edit below which fields you would like to remove in this migration.
|
29
|
+
raise ActiveRecord::IrreversibleMigration
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20111201163718) do
|
15
|
+
|
16
|
+
create_table "roles", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.text "display_name"
|
19
|
+
t.text "note"
|
20
|
+
t.integer "position"
|
21
|
+
t.datetime "created_at"
|
22
|
+
t.datetime "updated_at"
|
23
|
+
end
|
24
|
+
|
25
|
+
create_table "search_histories", :force => true do |t|
|
26
|
+
t.integer "user_id"
|
27
|
+
t.string "operation", :default => "searchRetrieve"
|
28
|
+
t.float "sru_version", :default => 1.2
|
29
|
+
t.string "query"
|
30
|
+
t.integer "start_record"
|
31
|
+
t.integer "maximum_records"
|
32
|
+
t.string "record_packing"
|
33
|
+
t.string "record_schema"
|
34
|
+
t.integer "result_set_ttl"
|
35
|
+
t.string "stylesheet"
|
36
|
+
t.string "extra_request_data"
|
37
|
+
t.integer "number_of_records", :default => 0
|
38
|
+
t.string "result_set_id"
|
39
|
+
t.integer "result_set_idle_time"
|
40
|
+
t.text "records"
|
41
|
+
t.integer "next_record_position"
|
42
|
+
t.text "diagnostics"
|
43
|
+
t.text "extra_response_data"
|
44
|
+
t.text "echoed_search_retrieve_request"
|
45
|
+
t.datetime "created_at"
|
46
|
+
t.datetime "updated_at"
|
47
|
+
end
|
48
|
+
|
49
|
+
add_index "search_histories", ["user_id"], :name => "index_search_histories_on_user_id"
|
50
|
+
|
51
|
+
create_table "user_has_roles", :force => true do |t|
|
52
|
+
t.integer "user_id"
|
53
|
+
t.integer "role_id"
|
54
|
+
t.datetime "created_at"
|
55
|
+
t.datetime "updated_at"
|
56
|
+
end
|
57
|
+
|
58
|
+
create_table "users", :force => true do |t|
|
59
|
+
t.integer "user_group_id"
|
60
|
+
t.integer "required_role_id"
|
61
|
+
t.string "username"
|
62
|
+
t.text "note"
|
63
|
+
t.string "locale"
|
64
|
+
t.datetime "created_at"
|
65
|
+
t.datetime "updated_at"
|
66
|
+
t.string "email", :default => "", :null => false
|
67
|
+
t.string "encrypted_password", :limit => 128, :default => "", :null => false
|
68
|
+
t.string "reset_password_token"
|
69
|
+
t.datetime "reset_password_sent_at"
|
70
|
+
t.datetime "remember_created_at"
|
71
|
+
t.integer "sign_in_count", :default => 0
|
72
|
+
t.datetime "current_sign_in_at"
|
73
|
+
t.datetime "last_sign_in_at"
|
74
|
+
t.string "current_sign_in_ip"
|
75
|
+
t.string "last_sign_in_ip"
|
76
|
+
end
|
77
|
+
|
78
|
+
add_index "users", ["email"], :name => "index_users_on_email"
|
79
|
+
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true
|
80
|
+
|
81
|
+
end
|
Binary file
|
File without changes
|
@@ -0,0 +1,1737 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateSearchHistories (90)
|
7
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("search_histories")[0m
|
9
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_search_histories_on_user_id" ON "search_histories" ("user_id")
|
10
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('90')[0m
|
11
|
+
Migrating to RenameSearchHistoryVersionToSruVersion (20100623173800)
|
12
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("search_histories")[0m
|
14
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_search_histories_on_user_id')
|
15
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_search_histories")[0m
|
16
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "temp_index_altered_search_histories_on_user_id" ON "altered_search_histories" ("user_id")
|
17
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "search_histories"[0m
|
18
|
+
[1m[35m (0.3ms)[0m DROP TABLE "search_histories"
|
19
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
20
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_search_histories")
|
21
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_search_histories_on_user_id')[0m
|
22
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("search_histories")
|
23
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_search_histories_on_user_id" ON "search_histories" ("user_id")[0m
|
24
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_search_histories"
|
25
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_search_histories"[0m
|
26
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100623173800')
|
27
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
28
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
29
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("search_histories")[0m
|
30
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_search_histories_on_user_id')
|
31
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
32
|
+
Migrating to CreateSearchHistories (90)
|
33
|
+
Migrating to RenameSearchHistoryVersionToSruVersion (20100623173800)
|
34
|
+
Migrating to CreateRoles (20111201121844)
|
35
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
36
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) [0m
|
37
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
|
38
|
+
Migrating to CreateUsers (20111201155456)
|
39
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
40
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
|
41
|
+
Migrating to AddDeviseToUsers (20111201155513)
|
42
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
49
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
50
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
|
51
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
|
52
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
53
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
54
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
|
55
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
56
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
57
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
|
58
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
|
59
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
60
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
61
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
62
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
63
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
64
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
|
65
|
+
Migrating to CreateUserHasRoles (20111201163718)
|
66
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
67
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
|
68
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
69
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
70
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("roles")[0m
|
71
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("search_histories")
|
72
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_search_histories_on_user_id')[0m
|
73
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("user_has_roles")
|
74
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
75
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
76
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
77
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "roles"[0m
|
78
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
80
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
82
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "user_has_roles"
|
83
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
84
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
86
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
88
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
90
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
91
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04: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)[0m
|
92
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
94
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)
|
95
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)[0m
|
96
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
97
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
98
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
99
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
100
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
101
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
102
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
103
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
104
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
105
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
106
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
107
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
108
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
109
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
110
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
111
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
112
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
113
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
114
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
115
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
116
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
117
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
118
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
120
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
121
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
122
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
123
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "roles"[0m
|
124
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
126
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
128
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "search_histories"
|
129
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
130
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
132
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
134
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
136
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
138
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
140
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
142
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
143
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
144
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
145
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
146
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
147
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
148
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
149
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
150
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
151
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
152
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
153
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
154
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
155
|
+
[1m[36mSearchHistory Load (0.2ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
156
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
157
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
158
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
159
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
160
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
|
161
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
162
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
|
163
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
164
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
165
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
166
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 3]]
|
167
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
168
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
|
169
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
170
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
171
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
172
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
173
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
174
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
175
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
176
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
177
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
178
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 2]]
|
179
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
180
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
181
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
182
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
183
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
184
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
185
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
186
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
187
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
188
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
189
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
190
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
191
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
192
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
193
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
194
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
195
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
196
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
197
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
198
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
199
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
200
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "roles"[0m
|
201
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
203
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
205
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "search_histories"
|
206
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
207
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
209
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
211
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
213
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
215
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
217
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
219
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
220
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
221
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
222
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
223
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
224
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
225
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
226
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
227
|
+
Processing by SearchHistoriesController#index as HTML
|
228
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
229
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
230
|
+
Completed 500 Internal Server Error in 171ms
|
231
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
232
|
+
Processing by SearchHistoriesController#index as HTML
|
233
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
234
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
235
|
+
Completed 500 Internal Server Error in 9ms
|
236
|
+
[1m[36mUser Load (1.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
237
|
+
Processing by SearchHistoriesController#index as HTML
|
238
|
+
Parameters: {"mode"=>"not_found"}
|
239
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
240
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
241
|
+
Completed 500 Internal Server Error in 8ms
|
242
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
243
|
+
Processing by SearchHistoriesController#index as HTML
|
244
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
245
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
250
|
+
Processing by SearchHistoriesController#index as HTML
|
251
|
+
Parameters: {"user_id"=>"admin"}
|
252
|
+
Completed 500 Internal Server Error in 6ms
|
253
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
254
|
+
[1m[36mSearchHistory Load (0.3ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
255
|
+
Processing by SearchHistoriesController#show as HTML
|
256
|
+
Parameters: {"id"=>"100"}
|
257
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
|
258
|
+
Completed 404 Not Found in 5ms
|
259
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
260
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
264
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
265
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
266
|
+
Completed 500 Internal Server Error in 11ms
|
267
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
268
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
269
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
273
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
274
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
275
|
+
Completed 500 Internal Server Error in 12ms
|
276
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
277
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
278
|
+
Processing by SearchHistoriesController#show as HTML
|
279
|
+
Parameters: {"id"=>"2"}
|
280
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
281
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
282
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
283
|
+
Completed 500 Internal Server Error in 12ms
|
284
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
285
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
289
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
290
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
291
|
+
Completed 500 Internal Server Error in 12ms
|
292
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
293
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
294
|
+
Processing by SearchHistoriesController#show as HTML
|
295
|
+
Parameters: {"id"=>"3"}
|
296
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
297
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
298
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
299
|
+
Completed 500 Internal Server Error in 7ms
|
300
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
301
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
305
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
306
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
307
|
+
Completed 500 Internal Server Error in 7ms
|
308
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
312
|
+
Completed 500 Internal Server Error in 6ms
|
313
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
314
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
315
|
+
Processing by SearchHistoriesController#destroy as HTML
|
316
|
+
Parameters: {"id"=>"100"}
|
317
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
|
318
|
+
Completed 404 Not Found in 4ms
|
319
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
320
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
324
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
325
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
326
|
+
Completed 500 Internal Server Error in 11ms
|
327
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
328
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
329
|
+
Processing by SearchHistoriesController#destroy as HTML
|
330
|
+
Parameters: {"id"=>"1"}
|
331
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
332
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
333
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
334
|
+
Completed 500 Internal Server Error in 18ms
|
335
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
336
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
337
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
338
|
+
Processing by SearchHistoriesController#destroy as HTML
|
339
|
+
Parameters: {"id"=>"2"}
|
340
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
341
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
342
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
343
|
+
Completed 500 Internal Server Error in 11ms
|
344
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
345
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
346
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
347
|
+
Processing by SearchHistoriesController#destroy as HTML
|
348
|
+
Parameters: {"id"=>"2"}
|
349
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
350
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
351
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
352
|
+
Completed 500 Internal Server Error in 61ms
|
353
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
354
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
358
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
359
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
360
|
+
Completed 500 Internal Server Error in 11ms
|
361
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
362
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
363
|
+
Processing by SearchHistoriesController#destroy as HTML
|
364
|
+
Parameters: {"id"=>"2"}
|
365
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
366
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
367
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
368
|
+
Completed 500 Internal Server Error in 11ms
|
369
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
370
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
374
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
375
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
376
|
+
Completed 500 Internal Server Error in 12ms
|
377
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
378
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
379
|
+
Processing by SearchHistoriesController#destroy as HTML
|
380
|
+
Parameters: {"id"=>"1"}
|
381
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
382
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
383
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
384
|
+
Completed 500 Internal Server Error in 11ms
|
385
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
386
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
390
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
391
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
392
|
+
Completed 500 Internal Server Error in 8ms
|
393
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
394
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
395
|
+
Processing by SearchHistoriesController#destroy as HTML
|
396
|
+
Parameters: {"id"=>"3"}
|
397
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
398
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
399
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
400
|
+
Completed 500 Internal Server Error in 7ms
|
401
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
402
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
406
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
407
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
408
|
+
Completed 500 Internal Server Error in 8ms
|
409
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
410
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
411
|
+
Processing by SearchHistoriesController#destroy as HTML
|
412
|
+
Parameters: {"id"=>"2"}
|
413
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
414
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
415
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
416
|
+
Completed 500 Internal Server Error in 7ms
|
417
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
418
|
+
Processing by SearchHistoriesController#destroy as HTML
|
419
|
+
Parameters: {"id"=>"1"}
|
420
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
421
|
+
Completed 500 Internal Server Error in 6ms
|
422
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
423
|
+
Processing by SearchHistoriesController#destroy as HTML
|
424
|
+
Parameters: {"id"=>"1"}
|
425
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
426
|
+
Completed 500 Internal Server Error in 6ms
|
427
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "roles"[0m
|
428
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
430
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
432
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "search_histories"
|
433
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
434
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
436
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
438
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
440
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
442
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
444
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
446
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04: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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
448
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
449
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
450
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
451
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
452
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
453
|
+
[1m[36mUser Load (5.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
454
|
+
Processing by SearchHistoriesController#index as HTML
|
455
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
456
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
457
|
+
Completed 500 Internal Server Error in 114ms
|
458
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
459
|
+
Processing by SearchHistoriesController#index as HTML
|
460
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
461
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
462
|
+
Completed 500 Internal Server Error in 8ms
|
463
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
464
|
+
Processing by SearchHistoriesController#index as HTML
|
465
|
+
Parameters: {"mode"=>"not_found"}
|
466
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
467
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
468
|
+
Completed 500 Internal Server Error in 8ms
|
469
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
470
|
+
Processing by SearchHistoriesController#index as HTML
|
471
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
472
|
+
[1m[35mRole Load (0.3ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
477
|
+
Processing by SearchHistoriesController#index as HTML
|
478
|
+
Parameters: {"user_id"=>"admin"}
|
479
|
+
Completed 500 Internal Server Error in 60ms
|
480
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
481
|
+
[1m[36mSearchHistory Load (0.2ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
482
|
+
Processing by SearchHistoriesController#show as HTML
|
483
|
+
Parameters: {"id"=>"100"}
|
484
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
485
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "100"]]
|
486
|
+
Completed 500 Internal Server Error in 12ms
|
487
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
488
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
489
|
+
Processing by SearchHistoriesController#show as HTML
|
490
|
+
Parameters: {"id"=>"1"}
|
491
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
492
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
493
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
494
|
+
Completed 500 Internal Server Error in 13ms
|
495
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
496
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
497
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
498
|
+
Processing by SearchHistoriesController#show as HTML
|
499
|
+
Parameters: {"id"=>"2"}
|
500
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
501
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
502
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
503
|
+
Completed 500 Internal Server Error in 11ms
|
504
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
505
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
509
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
510
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
511
|
+
Completed 500 Internal Server Error in 11ms
|
512
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
513
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
514
|
+
Processing by SearchHistoriesController#show as HTML
|
515
|
+
Parameters: {"id"=>"1"}
|
516
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
517
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
518
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
519
|
+
Completed 500 Internal Server Error in 11ms
|
520
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
521
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
525
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
526
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
527
|
+
Completed 500 Internal Server Error in 10ms
|
528
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
529
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
530
|
+
Processing by SearchHistoriesController#show as HTML
|
531
|
+
Parameters: {"id"=>"2"}
|
532
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
533
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
534
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
535
|
+
Completed 500 Internal Server Error in 10ms
|
536
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
537
|
+
Processing by SearchHistoriesController#show as HTML
|
538
|
+
Parameters: {"id"=>"1"}
|
539
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
540
|
+
Completed 500 Internal Server Error in 8ms
|
541
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
542
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
546
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "100"]]
|
547
|
+
Completed 500 Internal Server Error in 10ms
|
548
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
549
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
553
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
554
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
555
|
+
Completed 500 Internal Server Error in 65ms
|
556
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
557
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
558
|
+
Processing by SearchHistoriesController#destroy as HTML
|
559
|
+
Parameters: {"id"=>"1"}
|
560
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
561
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
562
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
563
|
+
Completed 500 Internal Server Error in 13ms
|
564
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
565
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
566
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
567
|
+
Processing by SearchHistoriesController#destroy as HTML
|
568
|
+
Parameters: {"id"=>"2"}
|
569
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
570
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
571
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
572
|
+
Completed 500 Internal Server Error in 11ms
|
573
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
574
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
575
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
576
|
+
Processing by SearchHistoriesController#destroy as HTML
|
577
|
+
Parameters: {"id"=>"2"}
|
578
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
579
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
580
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
581
|
+
Completed 500 Internal Server Error in 15ms
|
582
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
583
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
587
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
588
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
589
|
+
Completed 500 Internal Server Error in 11ms
|
590
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
591
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
592
|
+
Processing by SearchHistoriesController#destroy as HTML
|
593
|
+
Parameters: {"id"=>"2"}
|
594
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
595
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
596
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
597
|
+
Completed 500 Internal Server Error in 15ms
|
598
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
599
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
603
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
604
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
605
|
+
Completed 500 Internal Server Error in 14ms
|
606
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
607
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
608
|
+
Processing by SearchHistoriesController#destroy as HTML
|
609
|
+
Parameters: {"id"=>"1"}
|
610
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
611
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
612
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
613
|
+
Completed 500 Internal Server Error in 11ms
|
614
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
615
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
619
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
620
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
621
|
+
Completed 500 Internal Server Error in 10ms
|
622
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
623
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
624
|
+
Processing by SearchHistoriesController#destroy as HTML
|
625
|
+
Parameters: {"id"=>"3"}
|
626
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
627
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
628
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
629
|
+
Completed 500 Internal Server Error in 10ms
|
630
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
631
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
635
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
636
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
637
|
+
Completed 500 Internal Server Error in 10ms
|
638
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
639
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
640
|
+
Processing by SearchHistoriesController#destroy as HTML
|
641
|
+
Parameters: {"id"=>"2"}
|
642
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
643
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
644
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
645
|
+
Completed 500 Internal Server Error in 13ms
|
646
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
647
|
+
Processing by SearchHistoriesController#destroy as HTML
|
648
|
+
Parameters: {"id"=>"1"}
|
649
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
650
|
+
Completed 500 Internal Server Error in 8ms
|
651
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
652
|
+
Processing by SearchHistoriesController#destroy as HTML
|
653
|
+
Parameters: {"id"=>"1"}
|
654
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
655
|
+
Completed 500 Internal Server Error in 10ms
|
656
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "roles"[0m
|
657
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
659
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
661
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "search_histories"
|
662
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
663
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
665
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
667
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
669
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
671
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
673
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
675
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04: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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
677
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
678
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
679
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
680
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
681
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
682
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
683
|
+
Processing by SearchHistoriesController#index as HTML
|
684
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
685
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
686
|
+
Completed 500 Internal Server Error in 56ms
|
687
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
688
|
+
Processing by SearchHistoriesController#index as HTML
|
689
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
690
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
691
|
+
Completed 500 Internal Server Error in 5ms
|
692
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
693
|
+
Processing by SearchHistoriesController#index as HTML
|
694
|
+
Parameters: {"mode"=>"not_found"}
|
695
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
696
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
697
|
+
Completed 500 Internal Server Error in 4ms
|
698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
699
|
+
Processing by SearchHistoriesController#index as HTML
|
700
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
701
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')[0m
|
707
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')[0m
|
713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
714
|
+
[1m[36mSearchHistory Load (0.2ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
715
|
+
Processing by SearchHistoriesController#show as HTML
|
716
|
+
Parameters: {"id"=>"100"}
|
717
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
718
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "100"]]
|
719
|
+
Completed 404 Not Found in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
720
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
721
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
722
|
+
Processing by SearchHistoriesController#show as HTML
|
723
|
+
Parameters: {"id"=>"1"}
|
724
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
725
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
726
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
727
|
+
Completed 500 Internal Server Error in 7ms
|
728
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
729
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
730
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
731
|
+
Processing by SearchHistoriesController#show as HTML
|
732
|
+
Parameters: {"id"=>"2"}
|
733
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
734
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
735
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
736
|
+
Completed 500 Internal Server Error in 6ms
|
737
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
738
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
742
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
743
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
744
|
+
Completed 500 Internal Server Error in 6ms
|
745
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
746
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
747
|
+
Processing by SearchHistoriesController#show as HTML
|
748
|
+
Parameters: {"id"=>"1"}
|
749
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
750
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
751
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
752
|
+
Completed 500 Internal Server Error in 32ms
|
753
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
754
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
758
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
759
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
760
|
+
Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
761
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
762
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
763
|
+
Processing by SearchHistoriesController#show as HTML
|
764
|
+
Parameters: {"id"=>"2"}
|
765
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
766
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
767
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
768
|
+
Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
769
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
770
|
+
Processing by SearchHistoriesController#show as HTML
|
771
|
+
Parameters: {"id"=>"1"}
|
772
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
776
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
780
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
783
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
787
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
788
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
789
|
+
Completed 500 Internal Server Error in 6ms
|
790
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
791
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
792
|
+
Processing by SearchHistoriesController#destroy as HTML
|
793
|
+
Parameters: {"id"=>"1"}
|
794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
795
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
796
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
797
|
+
Completed 500 Internal Server Error in 6ms
|
798
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
799
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
800
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
801
|
+
Processing by SearchHistoriesController#destroy as HTML
|
802
|
+
Parameters: {"id"=>"2"}
|
803
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
804
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
805
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
806
|
+
Completed 500 Internal Server Error in 6ms
|
807
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
808
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
809
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
810
|
+
Processing by SearchHistoriesController#destroy as HTML
|
811
|
+
Parameters: {"id"=>"2"}
|
812
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
813
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
814
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
815
|
+
Completed 500 Internal Server Error in 6ms
|
816
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
817
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
821
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
822
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
823
|
+
Completed 500 Internal Server Error in 6ms
|
824
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
825
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
826
|
+
Processing by SearchHistoriesController#destroy as HTML
|
827
|
+
Parameters: {"id"=>"2"}
|
828
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
829
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
830
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
831
|
+
Completed 500 Internal Server Error in 6ms
|
832
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
833
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
837
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
838
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
839
|
+
Completed 500 Internal Server Error in 6ms
|
840
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
841
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
842
|
+
Processing by SearchHistoriesController#destroy as HTML
|
843
|
+
Parameters: {"id"=>"1"}
|
844
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
845
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
846
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
847
|
+
Completed 500 Internal Server Error in 7ms
|
848
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
849
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
853
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
854
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
855
|
+
Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
857
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
858
|
+
Processing by SearchHistoriesController#destroy as HTML
|
859
|
+
Parameters: {"id"=>"3"}
|
860
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
861
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
862
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
863
|
+
Completed 403 Forbidden in 35ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
864
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
865
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
869
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
870
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
871
|
+
Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
872
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
873
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
874
|
+
Processing by SearchHistoriesController#destroy as HTML
|
875
|
+
Parameters: {"id"=>"2"}
|
876
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
877
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
878
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
879
|
+
Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
880
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
881
|
+
Processing by SearchHistoriesController#destroy as HTML
|
882
|
+
Parameters: {"id"=>"1"}
|
883
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
887
|
+
Processing by SearchHistoriesController#destroy as HTML
|
888
|
+
Parameters: {"id"=>"1"}
|
889
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "roles"[0m
|
893
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
895
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
897
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "search_histories"
|
898
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
899
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
901
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
903
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
905
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
907
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
909
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
911
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
912
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
913
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
914
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
915
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
916
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
917
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
918
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
919
|
+
Processing by SearchHistoriesController#index as HTML
|
920
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
921
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories"
|
925
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
926
|
+
Processing by SearchHistoriesController#index as HTML
|
927
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
928
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
929
|
+
Completed 500 Internal Server Error in 9ms
|
930
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
931
|
+
Processing by SearchHistoriesController#index as HTML
|
932
|
+
Parameters: {"mode"=>"not_found"}
|
933
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
934
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
935
|
+
Completed 500 Internal Server Error in 8ms
|
936
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
937
|
+
Processing by SearchHistoriesController#index as HTML
|
938
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
939
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
945
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
951
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
952
|
+
[1m[35mSearchHistory Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
956
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
959
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
963
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
964
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
965
|
+
Completed 200 OK in 30ms (Views: 21.9ms | ActiveRecord: 0.4ms)
|
966
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
967
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
968
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
972
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
973
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
974
|
+
Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
|
975
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
976
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
977
|
+
Processing by SearchHistoriesController#show as HTML
|
978
|
+
Parameters: {"id"=>"2"}
|
979
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
980
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
981
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
982
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
983
|
+
Completed 200 OK in 18ms (Views: 1.5ms | ActiveRecord: 0.6ms)
|
984
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
985
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
986
|
+
Processing by SearchHistoriesController#show as HTML
|
987
|
+
Parameters: {"id"=>"1"}
|
988
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
989
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
990
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
991
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
992
|
+
Completed 403 Forbidden in 56ms (Views: 3.3ms | ActiveRecord: 0.6ms)
|
993
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
994
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
995
|
+
Processing by SearchHistoriesController#show as HTML
|
996
|
+
Parameters: {"id"=>"3"}
|
997
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
998
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
999
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1000
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1001
|
+
Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.6ms)
|
1002
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1003
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1004
|
+
Processing by SearchHistoriesController#show as HTML
|
1005
|
+
Parameters: {"id"=>"2"}
|
1006
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1007
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1008
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1009
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1010
|
+
Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.6ms)
|
1011
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1015
|
+
Redirected to http://test.host/users/sign_in
|
1016
|
+
Completed 302 Found in 7ms
|
1017
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1018
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1019
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1020
|
+
Parameters: {"id"=>"100"}
|
1021
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1022
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "100"]]
|
1023
|
+
Completed 404 Not Found in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
1024
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1025
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1026
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1027
|
+
Parameters: {"id"=>"1"}
|
1028
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1029
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1030
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1032
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1034
|
+
Redirected to http://test.host/search_histories
|
1035
|
+
Completed 302 Found in 9ms
|
1036
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1037
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1038
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1039
|
+
Parameters: {"id"=>"1"}
|
1040
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1041
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1042
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1044
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1046
|
+
Redirected to http://test.host/search_histories
|
1047
|
+
Completed 302 Found in 16ms
|
1048
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1049
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1050
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1054
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1055
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1057
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1059
|
+
Redirected to http://test.host/search_histories
|
1060
|
+
Completed 302 Found in 13ms
|
1061
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1062
|
+
[1m[35mSearchHistory Load (0.0ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
1063
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1064
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1065
|
+
Parameters: {"id"=>"2"}
|
1066
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1067
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1068
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1069
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1070
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1071
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1072
|
+
Redirected to http://test.host/search_histories
|
1073
|
+
Completed 302 Found in 9ms
|
1074
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1075
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1076
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1077
|
+
Parameters: {"id"=>"2"}
|
1078
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1079
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1080
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1081
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1082
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1083
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1085
|
+
Redirected to http://test.host/search_histories
|
1086
|
+
Completed 302 Found in 10ms
|
1087
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1088
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1092
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1093
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
1094
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1095
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1096
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1097
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1098
|
+
Redirected to http://test.host/search_histories
|
1099
|
+
Completed 302 Found in 12ms
|
1100
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1101
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1102
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1103
|
+
Parameters: {"id"=>"1"}
|
1104
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1105
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1106
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1107
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1108
|
+
Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1109
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1110
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1111
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1112
|
+
Parameters: {"id"=>"1"}
|
1113
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1114
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1115
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1116
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1117
|
+
Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
1118
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1119
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
1120
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1121
|
+
Parameters: {"id"=>"3"}
|
1122
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1123
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
1124
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1125
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1127
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 3]]
|
1128
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1129
|
+
Redirected to http://test.host/search_histories
|
1130
|
+
Completed 302 Found in 13ms
|
1131
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1132
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1136
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
1137
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
1138
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1140
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
|
1141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1142
|
+
Redirected to http://test.host/search_histories
|
1143
|
+
Completed 302 Found in 15ms
|
1144
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1145
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1146
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1147
|
+
Parameters: {"id"=>"2"}
|
1148
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1149
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1150
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1151
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1152
|
+
Completed 403 Forbidden in 57ms (Views: 1.5ms | ActiveRecord: 0.6ms)
|
1153
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1154
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1155
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1156
|
+
Parameters: {"id"=>"2"}
|
1157
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1158
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1159
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1160
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1161
|
+
Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1162
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1166
|
+
Redirected to http://test.host/users/sign_in
|
1167
|
+
Completed 302 Found in 7ms
|
1168
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1172
|
+
Redirected to http://test.host/users/sign_in
|
1173
|
+
Completed 302 Found in 7ms
|
1174
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "roles"[0m
|
1175
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
1177
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
1179
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "search_histories"
|
1180
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1181
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1183
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
1185
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1187
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1189
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1191
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
1193
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
1194
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
1195
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
1196
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
1197
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
1198
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
1199
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
1200
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1201
|
+
Processing by SearchHistoriesController#index as HTML
|
1202
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1203
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories"
|
1207
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1208
|
+
Processing by SearchHistoriesController#index as HTML
|
1209
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1210
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
1211
|
+
Completed 200 OK in 54ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
1212
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1213
|
+
Processing by SearchHistoriesController#index as HTML
|
1214
|
+
Parameters: {"mode"=>"not_found"}
|
1215
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1216
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1217
|
+
Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
1218
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1219
|
+
Processing by SearchHistoriesController#index as HTML
|
1220
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1221
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
1227
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
1233
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1234
|
+
[1m[35mSearchHistory Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1238
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1241
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1245
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
1246
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1247
|
+
Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 0.4ms)
|
1248
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1249
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1250
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1254
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1255
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1256
|
+
Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
|
1257
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1258
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1259
|
+
Processing by SearchHistoriesController#show as HTML
|
1260
|
+
Parameters: {"id"=>"2"}
|
1261
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1262
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1263
|
+
[1m[35mRole Load (3.5ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1265
|
+
Completed 200 OK in 67ms (Views: 1.3ms | ActiveRecord: 4.0ms)
|
1266
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1267
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1268
|
+
Processing by SearchHistoriesController#show as HTML
|
1269
|
+
Parameters: {"id"=>"1"}
|
1270
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1271
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1272
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1273
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1274
|
+
Completed 403 Forbidden in 16ms (Views: 5.7ms | ActiveRecord: 0.5ms)
|
1275
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1276
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
1277
|
+
Processing by SearchHistoriesController#show as HTML
|
1278
|
+
Parameters: {"id"=>"3"}
|
1279
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1280
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
1281
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1282
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1283
|
+
Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.5ms)
|
1284
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1285
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1286
|
+
Processing by SearchHistoriesController#show as HTML
|
1287
|
+
Parameters: {"id"=>"2"}
|
1288
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1289
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1290
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1291
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1292
|
+
Completed 403 Forbidden in 13ms (Views: 1.6ms | ActiveRecord: 0.5ms)
|
1293
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1297
|
+
Redirected to http://test.host/users/sign_in
|
1298
|
+
Completed 302 Found in 7ms
|
1299
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1300
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1301
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1302
|
+
Parameters: {"id"=>"100"}
|
1303
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1304
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "100"]]
|
1305
|
+
Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
1306
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1307
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1308
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1309
|
+
Parameters: {"id"=>"1"}
|
1310
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1311
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1312
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1314
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1316
|
+
Redirected to http://test.host/search_histories
|
1317
|
+
Completed 302 Found in 9ms
|
1318
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1319
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1320
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1321
|
+
Parameters: {"id"=>"1"}
|
1322
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1323
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1324
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1325
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1326
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1327
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1328
|
+
Redirected to http://test.host/search_histories
|
1329
|
+
Completed 302 Found in 10ms
|
1330
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1331
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1332
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1336
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1337
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1338
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1339
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1340
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1341
|
+
Redirected to http://test.host/search_histories
|
1342
|
+
Completed 302 Found in 13ms
|
1343
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1344
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
1345
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1346
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1347
|
+
Parameters: {"id"=>"2"}
|
1348
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1349
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1350
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1352
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1354
|
+
Redirected to http://test.host/search_histories
|
1355
|
+
Completed 302 Found in 9ms
|
1356
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1357
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1358
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1359
|
+
Parameters: {"id"=>"2"}
|
1360
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1361
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1362
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1363
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1365
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1367
|
+
Redirected to http://test.host/search_histories
|
1368
|
+
Completed 302 Found in 16ms
|
1369
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1370
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1374
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1375
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
1376
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1377
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1378
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1379
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1380
|
+
Redirected to http://test.host/search_histories
|
1381
|
+
Completed 302 Found in 11ms
|
1382
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1383
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1384
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1385
|
+
Parameters: {"id"=>"1"}
|
1386
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1387
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1388
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1389
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1390
|
+
Completed 403 Forbidden in 11ms (Views: 2.4ms | ActiveRecord: 0.5ms)
|
1391
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1392
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1393
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1394
|
+
Parameters: {"id"=>"1"}
|
1395
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1396
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1397
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1398
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1399
|
+
Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.5ms)
|
1400
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1401
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
1402
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1403
|
+
Parameters: {"id"=>"3"}
|
1404
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1405
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
1406
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1407
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1408
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1409
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 3]]
|
1410
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1411
|
+
Redirected to http://test.host/search_histories
|
1412
|
+
Completed 302 Found in 56ms
|
1413
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1414
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1418
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
1419
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
1420
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1422
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
|
1423
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1424
|
+
Redirected to http://test.host/search_histories
|
1425
|
+
Completed 302 Found in 10ms
|
1426
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1427
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1428
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1429
|
+
Parameters: {"id"=>"2"}
|
1430
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1431
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1432
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1433
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1434
|
+
Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1435
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1436
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1437
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1438
|
+
Parameters: {"id"=>"2"}
|
1439
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1440
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1441
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1442
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1443
|
+
Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1444
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1448
|
+
Redirected to http://test.host/users/sign_in
|
1449
|
+
Completed 302 Found in 7ms
|
1450
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1454
|
+
Redirected to http://test.host/users/sign_in
|
1455
|
+
Completed 302 Found in 7ms
|
1456
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "roles"[0m
|
1457
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
1459
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
1461
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "search_histories"
|
1462
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1463
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1465
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
1467
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1469
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1471
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1473
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
1475
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
1476
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
1477
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
1478
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
1479
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
1480
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
1481
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
1482
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1483
|
+
Processing by SearchHistoriesController#index as HTML
|
1484
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1485
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories"
|
1489
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1490
|
+
Processing by SearchHistoriesController#index as HTML
|
1491
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1492
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
1493
|
+
Completed 200 OK in 22ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
1494
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1495
|
+
Processing by SearchHistoriesController#index as HTML
|
1496
|
+
Parameters: {"mode"=>"not_found"}
|
1497
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1498
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1499
|
+
Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
1500
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1501
|
+
Processing by SearchHistoriesController#index as HTML
|
1502
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1503
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
1509
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "search_histories" WHERE ('t'='f')
|
1515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1516
|
+
[1m[35mSearchHistory Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1520
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1523
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1527
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "1"]]
|
1528
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1529
|
+
Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 0.4ms)
|
1530
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1531
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1532
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1536
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1537
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1538
|
+
Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms)
|
1539
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1540
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1541
|
+
Processing by SearchHistoriesController#show as HTML
|
1542
|
+
Parameters: {"id"=>"2"}
|
1543
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1544
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1545
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1546
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1547
|
+
Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 0.6ms)
|
1548
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1549
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1550
|
+
Processing by SearchHistoriesController#show as HTML
|
1551
|
+
Parameters: {"id"=>"1"}
|
1552
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1553
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1554
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1555
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1556
|
+
Completed 403 Forbidden in 18ms (Views: 1.9ms | ActiveRecord: 0.5ms)
|
1557
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1558
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
1559
|
+
Processing by SearchHistoriesController#show as HTML
|
1560
|
+
Parameters: {"id"=>"3"}
|
1561
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1562
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
1563
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1564
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1565
|
+
Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.6ms)
|
1566
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1567
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1568
|
+
Processing by SearchHistoriesController#show as HTML
|
1569
|
+
Parameters: {"id"=>"2"}
|
1570
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1571
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1572
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1573
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1574
|
+
Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.6ms)
|
1575
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1579
|
+
Redirected to http://test.host/users/sign_in
|
1580
|
+
Completed 302 Found in 7ms
|
1581
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1582
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1583
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1584
|
+
Parameters: {"id"=>"100"}
|
1585
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1586
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "100"]]
|
1587
|
+
Completed 404 Not Found in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
1588
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1589
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1590
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1591
|
+
Parameters: {"id"=>"1"}
|
1592
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1593
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1594
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1595
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1596
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1598
|
+
Redirected to http://test.host/search_histories
|
1599
|
+
Completed 302 Found in 13ms
|
1600
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1601
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1602
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1603
|
+
Parameters: {"id"=>"1"}
|
1604
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1605
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1606
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1608
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 1]]
|
1609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1610
|
+
Redirected to http://test.host/search_histories
|
1611
|
+
Completed 302 Found in 9ms
|
1612
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1613
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1614
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1618
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1619
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1[0m
|
1620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1621
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1623
|
+
Redirected to http://test.host/search_histories
|
1624
|
+
Completed 302 Found in 16ms
|
1625
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1626
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", 1]]
|
1627
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1628
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1629
|
+
Parameters: {"id"=>"2"}
|
1630
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1631
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1632
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
|
1633
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1634
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1635
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1636
|
+
Redirected to http://test.host/search_histories
|
1637
|
+
Completed 302 Found in 10ms
|
1638
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1639
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1640
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1641
|
+
Parameters: {"id"=>"2"}
|
1642
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1643
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1644
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1645
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1646
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1647
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 2]]
|
1648
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1649
|
+
Redirected to http://test.host/search_histories
|
1650
|
+
Completed 302 Found in 13ms
|
1651
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1652
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1656
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "2"]]
|
1657
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1[0m
|
1658
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1660
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 2]]
|
1661
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1662
|
+
Redirected to http://test.host/search_histories
|
1663
|
+
Completed 302 Found in 10ms
|
1664
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1665
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1666
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1667
|
+
Parameters: {"id"=>"1"}
|
1668
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1669
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1670
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1671
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1672
|
+
Completed 403 Forbidden in 62ms (Views: 1.2ms | ActiveRecord: 0.6ms)
|
1673
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1674
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 1]]
|
1675
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1676
|
+
Parameters: {"id"=>"1"}
|
1677
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1678
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1679
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1
|
1680
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1681
|
+
Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1682
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1683
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 3]]
|
1684
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1685
|
+
Parameters: {"id"=>"3"}
|
1686
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1687
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "3"]]
|
1688
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1689
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1690
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1691
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "search_histories" WHERE "search_histories"."id" = ?[0m [["id", 3]]
|
1692
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1693
|
+
Redirected to http://test.host/search_histories
|
1694
|
+
Completed 302 Found in 12ms
|
1695
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1696
|
+
[1m[35mSearchHistory Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
|
1700
|
+
[1m[35mSearchHistory Load (0.1ms)[0m SELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1 [["id", "3"]]
|
1701
|
+
[1m[36mRole Load (0.2ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1[0m
|
1702
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1704
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "search_histories" WHERE "search_histories"."id" = ? [["id", 3]]
|
1705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
+
Redirected to http://test.host/search_histories
|
1707
|
+
Completed 302 Found in 10ms
|
1708
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1709
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1710
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1711
|
+
Parameters: {"id"=>"2"}
|
1712
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1713
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1714
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1715
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1716
|
+
Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms)
|
1717
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1718
|
+
[1m[36mSearchHistory Load (0.0ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", 2]]
|
1719
|
+
Processing by SearchHistoriesController#destroy as HTML
|
1720
|
+
Parameters: {"id"=>"2"}
|
1721
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
|
1722
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1723
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1
|
1724
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1725
|
+
Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
1726
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1730
|
+
Redirected to http://test.host/users/sign_in
|
1731
|
+
Completed 302 Found in 7ms
|
1732
|
+
[1m[35mSearchHistory Load (0.1ms)[0m 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
|
+
[1m[36mSearchHistory Load (0.1ms)[0m [1mSELECT "search_histories".* FROM "search_histories" WHERE "search_histories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1736
|
+
Redirected to http://test.host/users/sign_in
|
1737
|
+
Completed 302 Found in 7ms
|