enju_subject 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/app/views/classifications/_form.html.erb +1 -1
  2. data/app/views/classifications/show.html.erb +1 -6
  3. data/config/locales/translation_en.yml +51 -0
  4. data/config/locales/translation_ja.yml +51 -0
  5. data/config/routes.rb +1 -1
  6. data/lib/enju_subject/engine.rb +10 -1
  7. data/lib/enju_subject/version.rb +1 -1
  8. data/spec/controllers/subject_types_controller_spec.rb +443 -0
  9. data/spec/dummy/app/helpers/application_helper.rb +19 -0
  10. data/spec/dummy/app/models/ability.rb +2 -0
  11. data/spec/dummy/config/application.rb +1 -0
  12. data/spec/dummy/config/locales/en.yml +17 -4
  13. data/spec/dummy/config/locales/ja.yml +18 -0
  14. data/spec/dummy/config/routes.rb +1 -1
  15. data/spec/dummy/db/development.sqlite3 +0 -0
  16. data/spec/dummy/db/fixtures/roles.yml +25 -0
  17. data/spec/dummy/db/seeds.rb +32 -0
  18. data/spec/dummy/db/test.sqlite3 +0 -0
  19. data/spec/dummy/lib/localized_name.rb +13 -0
  20. data/spec/dummy/log/development.log +3567 -0
  21. data/spec/dummy/log/sunspot-solr-test.log +148 -148
  22. data/spec/dummy/log/test.log +23172 -0
  23. data/spec/dummy/tmp/cache/assets/CCF/E80/sprockets%2F43cd60a461caf54702cd11b375829b44 +378 -0
  24. data/spec/dummy/tmp/cache/assets/CDA/820/sprockets%2F44191072efee7bea4011292f2f3f8534 +9272 -0
  25. data/spec/dummy/tmp/cache/assets/D30/680/sprockets%2F814ab0b411639d1c77bcee7c1729d0a3 +9288 -0
  26. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +10 -0
  28. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +9652 -0
  29. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  30. data/spec/dummy/tmp/cache/assets/E31/450/sprockets%2F1dd81425dd80ff4bdf569eadd2e1a8ed +394 -0
  31. metadata +138 -9
@@ -1,2 +1,21 @@
1
1
  module ApplicationHelper
2
+ def back_to_index(options = {})
3
+ if options == nil
4
+ options = {}
5
+ else
6
+ options.reject!{|key, value| value.blank?}
7
+ options.delete(:page) if options[:page].to_i == 1
8
+ end
9
+ unless controller_name == 'test'
10
+ link_to t('page.listing', :model => t("activerecord.models.#{controller_name.singularize}")), url_for(params.merge(:controller => controller_name, :action => :index, :id => nil).merge(options))
11
+ end
12
+ end
13
+
14
+ def link_to_wikipedia(string)
15
+ link_to "Wikipedia", "http://#{I18n.locale}.wikipedia.org/wiki/#{URI.escape(string)}"
16
+ end
17
+
18
+ def current_user_role_name
19
+ current_user.try(:role).try(:name) || 'Guest'
20
+ end
2
21
  end
@@ -7,6 +7,7 @@ class Ability
7
7
  can :manage, Classification
8
8
  can :manage, ClassificationType
9
9
  can :manage, Subject
10
+ can :manage, SubjectType
10
11
  can :manage, SubjectHeadingType
11
12
  can :manage, SubjectHeadingTypeHasSubject
12
13
  can :manage, WorkHasSubject
@@ -15,6 +16,7 @@ class Ability
15
16
  can :read, Classification
16
17
  can :read, ClassificationType
17
18
  can :read, Subject
19
+ can :read, SubjectType
18
20
  can :read, SubjectHeadingType
19
21
  can :read, SubjectHeadingTypeHasSubject
20
22
  can :manage, WorkHasSubject
@@ -43,3 +43,4 @@ module Dummy
43
43
  end
44
44
  end
45
45
 
46
+ require 'localized_name'
@@ -1,5 +1,18 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
1
  en:
5
- hello: "Hello world"
2
+ page:
3
+ search: "Search"
4
+ search_term: "Search term(s)"
5
+ back: "Back"
6
+ show: "Show"
7
+ edit: "Edit"
8
+ destroy: "Destroy"
9
+ listing: "Listing %{model}"
10
+ are_you_sure: "Are you sure?"
11
+ new: "New %{model}"
12
+ editing: "Editing %{model}"
13
+ showing: "Showing %{model}"
14
+ controller:
15
+ successfully_created: "%{model} was successfully created."
16
+ successfully_updated: "%{model} was successfully updated."
17
+ successfully_deleted: "%{model} was successfully deleted."
18
+
@@ -0,0 +1,18 @@
1
+ ja:
2
+ page:
3
+ search: 検索
4
+ search_term: "検索語"
5
+ back: "戻る"
6
+ show: "表示"
7
+ edit: "編集"
8
+ destroy: "削除"
9
+ are_you_sure: "ほんとうですか?"
10
+ listing: "%{model}の一覧"
11
+ new: "%{model}の新規作成"
12
+ editing: "%{model}の編集"
13
+ showing: "%{model}の表示"
14
+ controller:
15
+ successfully_created: "%{model}は正常に作成されました。"
16
+ successfully_updated: "%{model}は正常に更新されました。"
17
+ successfully_deleted: "%{model}は正常に削除されました。"
18
+
@@ -50,7 +50,7 @@ Dummy::Application.routes.draw do
50
50
 
51
51
  # You can have the root of your site routed with "root"
52
52
  # just remember to delete public/index.html.
53
- # root :to => 'welcome#index'
53
+ root :to => 'subjects#index'
54
54
 
55
55
  # See how all your routes lay out with "rake routes"
56
56
 
Binary file
@@ -0,0 +1,25 @@
1
+ ---
2
+ role_00001:
3
+ name: Guest
4
+ display_name: Guest
5
+ id: 1
6
+ position: 1
7
+ note:
8
+ role_00002:
9
+ name: User
10
+ display_name: User
11
+ id: 2
12
+ position: 2
13
+ note:
14
+ role_00003:
15
+ name: Librarian
16
+ display_name: Librarian
17
+ id: 3
18
+ position: 3
19
+ note:
20
+ role_00004:
21
+ name: Administrator
22
+ display_name: Administrator
23
+ id: 4
24
+ position: 4
25
+ note:
@@ -0,0 +1,32 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Mayor.create(:name => 'Daley', :city => cities.first)
8
+
9
+ # Change the following
10
+ username = 'admin'
11
+ email = 'admin@example.jp'
12
+ password = 'adminpassword'
13
+
14
+ # Don't edit!
15
+ require 'active_record/fixtures'
16
+
17
+ unless solr = Sunspot.commit rescue nil
18
+ raise "Solr is not running."
19
+ end
20
+
21
+ Dir.glob(Rails.root.to_s + '/db/fixtures/*.yml').each do |file|
22
+ ActiveRecord::Fixtures.create_fixtures('spec/dummy/db/fixtures', File.basename(file, '.*'))
23
+ end
24
+
25
+ user = User.new
26
+ user.username = username
27
+ user.email = email
28
+ user.password = password
29
+ user.password_confirmation = password
30
+ user.role = Role.find_by_name('Administrator')
31
+ user.save!
32
+ puts 'Administrator account created.'
Binary file
@@ -0,0 +1,13 @@
1
+ module LocalizedName
2
+ def localize(locale = I18n.locale.to_s)
3
+ values = Hash[*self.strip.split("\n").map{|n| n.split(':', 2)}.flatten]
4
+ name = values[locale.to_s] || self
5
+ name.strip
6
+ rescue ArgumentError
7
+ self
8
+ end
9
+ end
10
+
11
+ class String
12
+ include LocalizedName
13
+ end
@@ -357,3 +357,3570 @@ Migrating to CreateUserGroups (20111201163342)
357
357
   (0.0ms) PRAGMA index_list("work_has_subjects")
358
358
   (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
359
359
   (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
360
+  (0.1ms) select sqlite_version(*)
361
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
362
+  (0.0ms) PRAGMA index_list("schema_migrations")
363
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
364
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
365
+ Migrating to CreateSubjects (29)
366
+  (0.5ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
367
+  (0.0ms) PRAGMA index_list("subjects")
368
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
369
+  (0.0ms) PRAGMA index_list("subjects")
370
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
371
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
372
+  (0.0ms) PRAGMA index_list("subjects")
373
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
374
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
375
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
376
+  (0.0ms) PRAGMA index_list("subjects")
377
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
378
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
379
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
380
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
381
+  (0.0ms) PRAGMA index_list("subjects")
382
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
383
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
384
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
385
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
386
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
387
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
388
+ Migrating to CreateCarrierTypes (73)
389
+  (0.5ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
390
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
391
+ Migrating to CreateClassifications (142)
392
+  (0.5ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
393
+  (0.0ms) PRAGMA index_list("classifications")
394
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
395
+  (0.0ms) PRAGMA index_list("classifications")
396
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
397
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
398
+  (0.0ms) PRAGMA index_list("classifications")
399
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
400
+  (0.1ms) PRAGMA index_info('index_classifications_on_parent_id')
401
+  (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
402
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
403
+ Migrating to CreateSubjectHasClassifications (143)
404
+  (0.5ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
405
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
406
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
407
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
408
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
409
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
410
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
411
+ Migrating to CreateClassificationTypes (144)
412
+  (0.5ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
413
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
414
+ Migrating to CreateSubjectHeadingTypes (145)
415
+  (0.4ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
416
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
417
+ Migrating to CreateSubjectTypes (146)
418
+  (0.5ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
419
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
420
+ Migrating to CreateWorkHasSubjects (20080606052544)
421
+  (0.5ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
422
+  (0.0ms) PRAGMA index_list("work_has_subjects")
423
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
424
+  (0.0ms) PRAGMA index_list("work_has_subjects")
425
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
426
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
427
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
428
+ Migrating to CreatePatronTypes (20080905191442)
429
+  (0.5ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) 
430
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
431
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
432
+  (0.5ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
433
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
434
+  (0.2ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
435
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
436
+ Migrating to AddLftAndRgtToClassification (20110913120629)
437
+  (0.5ms) ALTER TABLE "classifications" ADD "lft" integer
438
+  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
439
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
440
+ Migrating to CreateManifestations (20111201115353)
441
+  (0.5ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "title_transcription" text, "title_alternative" text, "pub_date" varchar(255), "isbn" varchar(255), "nbn" varchar(255), "ndc" varchar(255), "carrier_type_id" integer, "language_id" integer, "created_at" datetime, "updated_at" datetime)
442
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115353')
443
+ Migrating to CreatePatrons (20111201115421)
444
+  (0.5ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" text, "full_name_transcription" text, "language_id" integer, "required_role_id" integer, "patron_type_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
445
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115421')
446
+ Migrating to CreateLanguages (20111201121636)
447
+  (0.5ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
448
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
449
+ Migrating to CreateRoles (20111201121844)
450
+  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
451
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
452
+ Migrating to CreateUsers (20111201155456)
453
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime)
454
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
455
+ Migrating to AddDeviseToUsers (20111201155513)
456
+  (0.4ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
457
+  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
458
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
459
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
460
+  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
461
+  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
462
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
463
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
464
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
465
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
466
+  (0.0ms) PRAGMA index_list("users")
467
+  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
468
+  (0.0ms) PRAGMA index_list("users")
469
+  (0.0ms) PRAGMA index_info('index_users_on_email')
470
+  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
471
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
472
+ Migrating to CreateUserGroups (20111201163342)
473
+  (0.5ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
474
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
475
+ Migrating to CreateUserHasRoles (20111201163718)
476
+  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
477
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
478
+  (0.8ms) select sqlite_version(*)
479
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
480
+  (0.0ms) PRAGMA index_list("carrier_types")
481
+  (0.0ms) PRAGMA index_list("classification_types")
482
+  (0.0ms) PRAGMA index_list("classifications")
483
+  (0.0ms) PRAGMA index_info('index_classifications_on_classification_type_id')
484
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
485
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
486
+  (0.0ms) PRAGMA index_list("languages")
487
+  (0.0ms) PRAGMA index_list("manifestations")
488
+  (0.0ms) PRAGMA index_list("patron_types")
489
+  (0.0ms) PRAGMA index_list("patrons")
490
+  (0.1ms) PRAGMA index_list("roles")
491
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
492
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_classification_id')
493
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
494
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
495
+  (0.0ms) PRAGMA index_info('index_subject_heading_type_has_subjects_on_subject_id')
496
+  (0.0ms) PRAGMA index_list("subject_heading_types")
497
+  (0.0ms) PRAGMA index_list("subject_types")
498
+  (0.1ms) PRAGMA index_list("subjects")
499
+  (0.0ms) PRAGMA index_info('index_subjects_on_required_role_id')
500
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
501
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
502
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
503
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
504
+  (0.0ms) PRAGMA index_list("user_groups")
505
+  (0.0ms) PRAGMA index_list("user_has_roles")
506
+  (0.0ms) PRAGMA index_list("users")
507
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
508
+  (0.0ms) PRAGMA index_info('index_users_on_email')
509
+  (0.0ms) PRAGMA index_list("work_has_subjects")
510
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
511
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
512
+
513
+
514
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:17:57 +0900
515
+
516
+ ActionController::RoutingError (No route matches [GET] "/"):
517
+
518
+
519
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.5ms)
520
+
521
+
522
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:17:58 +0900
523
+
524
+ ActionController::RoutingError (No route matches [GET] "/"):
525
+
526
+
527
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
528
+
529
+
530
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:17:59 +0900
531
+
532
+ ActionController::RoutingError (No route matches [GET] "/"):
533
+
534
+
535
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
536
+
537
+
538
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:18:00 +0900
539
+
540
+ ActionController::RoutingError (No route matches [GET] "/"):
541
+
542
+
543
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
544
+
545
+
546
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:18:04 +0900
547
+ Processing by SubjectsController#index as HTML
548
+ SOLR Request (26.2ms) [ path=#<RSolr::Client:0x007fb5218a2950> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
549
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Guest' LIMIT 1
550
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", "Guest"]]
551
+ Rendered public/404.html within layouts/application (0.4ms)
552
+ Compiled application.css (11ms) (pid 22985)
553
+ Compiled application.js (44ms) (pid 22985)
554
+ Compiled jquery.js (47ms) (pid 22985)
555
+ Compiled jquery_ujs.js (14ms) (pid 22985)
556
+ Completed 404 Not Found in 500ms (Views: 234.9ms | ActiveRecord: 1.5ms | Solr: 26.2ms)
557
+
558
+
559
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:18:05 +0900
560
+ Served asset /application.css - 200 OK (0ms)
561
+
562
+
563
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:05 +0900
564
+ Served asset /jquery_ujs.js - 200 OK (7ms)
565
+
566
+
567
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:05 +0900
568
+ Served asset /jquery.js - 200 OK (4ms)
569
+
570
+
571
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:05 +0900
572
+ Served asset /application.js - 200 OK (0ms)
573
+
574
+
575
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:18:16 +0900
576
+ Processing by SubjectsController#index as HTML
577
+ SOLR Request (6.5ms) [ path=#<RSolr::Client:0x007fb5220639c8> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
578
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Guest' LIMIT 1
579
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", "Guest"]]
580
+ Rendered public/404.html within layouts/application (0.0ms)
581
+ Completed 404 Not Found in 101ms (Views: 8.4ms | ActiveRecord: 1.7ms | Solr: 6.5ms)
582
+
583
+
584
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:16 +0900
585
+ Served asset /jquery.js - 304 Not Modified (0ms)
586
+
587
+
588
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:18:16 +0900
589
+ Served asset /application.css - 304 Not Modified (0ms)
590
+
591
+
592
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:16 +0900
593
+ Served asset /application.js - 304 Not Modified (0ms)
594
+
595
+
596
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:18:17 +0900
597
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
598
+
599
+
600
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:18:17 +0900
601
+ Served asset /images/overlay.png - 404 Not Found (5ms)
602
+
603
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
604
+
605
+
606
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
607
+
608
+
609
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:29:42 +0900
610
+ Processing by SubjectsController#index as HTML
611
+ SOLR Request (4.3ms) [ path=#<RSolr::Client:0x007f9a9da133a0> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
612
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Guest' LIMIT 1
613
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", "Guest"]]
614
+ Rendered public/404.html within layouts/application (10.5ms)
615
+ Completed 404 Not Found in 220ms (Views: 93.4ms | ActiveRecord: 1.5ms | Solr: 4.3ms)
616
+
617
+
618
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:29:43 +0900
619
+ Served asset /jquery.js - 304 Not Modified (15ms)
620
+
621
+
622
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:29:43 +0900
623
+ Served asset /application.css - 304 Not Modified (0ms)
624
+
625
+
626
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:29:43 +0900
627
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
628
+
629
+
630
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:29:43 +0900
631
+ Served asset /application.js - 304 Not Modified (0ms)
632
+
633
+
634
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:29:43 +0900
635
+ Served asset /images/overlay.png - 404 Not Found (3ms)
636
+
637
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
638
+
639
+
640
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
641
+
642
+
643
+ Started GET "/subject_types" for 127.0.0.1 at 2012-01-08 22:30:32 +0900
644
+ Processing by SubjectTypesController#index as HTML
645
+ Redirected to http://localhost:3000/users/sign_in
646
+ Completed 302 Found in 113ms
647
+
648
+
649
+ Started GET "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:30:33 +0900
650
+ Processing by Devise::SessionsController#new as HTML
651
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (2.2ms)
652
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (43.7ms)
653
+ Completed 200 OK in 147ms (Views: 58.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms)
654
+
655
+
656
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:33 +0900
657
+ Served asset /application.js - 304 Not Modified (0ms)
658
+
659
+
660
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:33 +0900
661
+ Served asset /jquery.js - 304 Not Modified (0ms)
662
+
663
+
664
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:33 +0900
665
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
666
+
667
+
668
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:30:34 +0900
669
+ Served asset /application.css - 304 Not Modified (0ms)
670
+
671
+
672
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:30:34 +0900
673
+ Served asset /images/overlay.png - 404 Not Found (3ms)
674
+
675
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
676
+
677
+
678
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
679
+
680
+
681
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:30:42 +0900
682
+ Processing by Devise::SessionsController#create as HTML
683
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
684
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
685
+ Completed 401 Unauthorized in 51ms
686
+ Processing by Devise::SessionsController#new as HTML
687
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
688
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (0.9ms)
689
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (6.8ms)
690
+ Completed 200 OK in 179ms (Views: 17.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
691
+
692
+
693
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:42 +0900
694
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
695
+
696
+
697
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:42 +0900
698
+ Served asset /jquery.js - 304 Not Modified (0ms)
699
+
700
+
701
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:30:42 +0900
702
+ Served asset /application.css - 304 Not Modified (0ms)
703
+
704
+
705
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:30:43 +0900
706
+ Served asset /application.js - 304 Not Modified (0ms)
707
+
708
+
709
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:30:43 +0900
710
+ Served asset /images/overlay.png - 404 Not Found (3ms)
711
+
712
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
713
+
714
+
715
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
716
+ Binary data inserted for `string` type on column `encrypted_password`
717
+
718
+
719
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
720
+ Processing by Devise::SessionsController#create as HTML
721
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
722
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
723
+ Completed 401 Unauthorized in 15ms
724
+ Processing by Devise::SessionsController#new as HTML
725
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
726
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (0.6ms)
727
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms)
728
+ Completed 200 OK in 82ms (Views: 8.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)
729
+
730
+
731
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
732
+ Served asset /application.css - 304 Not Modified (0ms)
733
+
734
+
735
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
736
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
737
+
738
+
739
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
740
+ Served asset /jquery.js - 304 Not Modified (0ms)
741
+
742
+
743
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
744
+ Served asset /application.js - 304 Not Modified (0ms)
745
+
746
+
747
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:32:01 +0900
748
+ Served asset /images/overlay.png - 404 Not Found (1ms)
749
+
750
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
751
+
752
+
753
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
754
+
755
+
756
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:32:45 +0900
757
+ Processing by Devise::SessionsController#create as HTML
758
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
759
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
760
+ Completed 401 Unauthorized in 70ms
761
+ Processing by Devise::SessionsController#new as HTML
762
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
763
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (1.0ms)
764
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (5.3ms)
765
+ Completed 200 OK in 130ms (Views: 18.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
766
+
767
+
768
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:45 +0900
769
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
770
+
771
+
772
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:45 +0900
773
+ Served asset /application.js - 304 Not Modified (0ms)
774
+
775
+
776
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:45 +0900
777
+ Served asset /jquery.js - 304 Not Modified (0ms)
778
+
779
+
780
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:32:45 +0900
781
+ Served asset /application.css - 304 Not Modified (0ms)
782
+
783
+
784
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:32:46 +0900
785
+ Served asset /images/overlay.png - 404 Not Found (3ms)
786
+
787
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
788
+
789
+
790
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
791
+
792
+
793
+ Started GET "/subject_types" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
794
+ Processing by SubjectTypesController#index as HTML
795
+ SubjectType Load (0.1ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
796
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/index.html.erb within layouts/application (2.4ms)
797
+ Completed 200 OK in 31ms (Views: 30.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
798
+
799
+
800
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
801
+ Served asset /application.css - 304 Not Modified (0ms)
802
+
803
+
804
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
805
+ Served asset /jquery.js - 304 Not Modified (0ms)
806
+
807
+
808
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
809
+ Served asset /application.js - 304 Not Modified (0ms)
810
+
811
+
812
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
813
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
814
+
815
+
816
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:32:51 +0900
817
+ Served asset /images/overlay.png - 404 Not Found (1ms)
818
+
819
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
820
+
821
+
822
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
823
+
824
+
825
+ Started GET "/subject_types" for 127.0.0.1 at 2012-01-08 22:34:21 +0900
826
+ Processing by SubjectTypesController#index as HTML
827
+ SubjectType Load (0.1ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
828
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/index.html.erb within layouts/application (1.6ms)
829
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
830
+
831
+
832
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:34:21 +0900
833
+ Served asset /application.css - 304 Not Modified (0ms)
834
+
835
+
836
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:22 +0900
837
+ Served asset /jquery.js - 304 Not Modified (0ms)
838
+
839
+
840
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:22 +0900
841
+ Served asset /application.js - 304 Not Modified (0ms)
842
+
843
+
844
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:22 +0900
845
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
846
+
847
+
848
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:34:22 +0900
849
+ Served asset /images/overlay.png - 404 Not Found (1ms)
850
+
851
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
852
+
853
+
854
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
855
+
856
+
857
+ Started GET "/subject_types" for 127.0.0.1 at 2012-01-08 22:34:25 +0900
858
+ Processing by SubjectTypesController#index as HTML
859
+ Redirected to http://localhost:3000/users/sign_in
860
+ Completed 302 Found in 71ms
861
+
862
+
863
+ Started GET "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:34:25 +0900
864
+ Processing by Devise::SessionsController#new as HTML
865
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (1.1ms)
866
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (7.3ms)
867
+ Completed 200 OK in 117ms (Views: 24.1ms | ActiveRecord: 0.7ms | Solr: 0.0ms)
868
+
869
+
870
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:34:26 +0900
871
+ Served asset /application.css - 304 Not Modified (0ms)
872
+
873
+
874
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:26 +0900
875
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
876
+
877
+
878
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:26 +0900
879
+ Served asset /application.js - 304 Not Modified (0ms)
880
+
881
+
882
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:26 +0900
883
+ Served asset /jquery.js - 304 Not Modified (0ms)
884
+
885
+
886
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:34:26 +0900
887
+ Served asset /images/overlay.png - 404 Not Found (3ms)
888
+
889
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
890
+
891
+
892
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
893
+
894
+
895
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:34:31 +0900
896
+ Processing by Devise::SessionsController#create as HTML
897
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
898
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
899
+ Completed 401 Unauthorized in 48ms
900
+ Processing by Devise::SessionsController#new as HTML
901
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
902
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (1.0ms)
903
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (5.4ms)
904
+ Completed 200 OK in 174ms (Views: 12.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
905
+
906
+
907
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:34:31 +0900
908
+ Served asset /application.css - 304 Not Modified (0ms)
909
+
910
+
911
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:31 +0900
912
+ Served asset /jquery.js - 304 Not Modified (0ms)
913
+
914
+
915
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:31 +0900
916
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
917
+
918
+
919
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:34:31 +0900
920
+ Served asset /application.js - 304 Not Modified (0ms)
921
+
922
+
923
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:34:32 +0900
924
+ Served asset /images/overlay.png - 404 Not Found (1ms)
925
+
926
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
927
+
928
+
929
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
930
+
931
+
932
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
933
+ Processing by Devise::SessionsController#create as HTML
934
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
936
+ Completed 401 Unauthorized in 14ms
937
+ Processing by Devise::SessionsController#new as HTML
938
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
939
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (0.5ms)
940
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms)
941
+ Completed 200 OK in 82ms (Views: 7.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms)
942
+
943
+
944
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
945
+ Served asset /application.css - 304 Not Modified (0ms)
946
+
947
+
948
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
949
+ Served asset /jquery.js - 304 Not Modified (0ms)
950
+
951
+
952
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
953
+ Served asset /application.js - 304 Not Modified (0ms)
954
+
955
+
956
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
957
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
958
+
959
+
960
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:35:32 +0900
961
+ Served asset /images/overlay.png - 404 Not Found (1ms)
962
+
963
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
964
+
965
+
966
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
967
+
968
+
969
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
970
+ Processing by Devise::SessionsController#create as HTML
971
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
972
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
973
+ Completed 401 Unauthorized in 42ms
974
+ Processing by Devise::SessionsController#new as HTML
975
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
976
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (0.6ms)
977
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms)
978
+ Completed 200 OK in 82ms (Views: 7.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)
979
+
980
+
981
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
982
+ Served asset /application.css - 304 Not Modified (0ms)
983
+
984
+
985
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
986
+ Served asset /application.js - 304 Not Modified (0ms)
987
+
988
+
989
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
990
+ Served asset /jquery.js - 304 Not Modified (0ms)
991
+
992
+
993
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
994
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
995
+
996
+
997
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:35:37 +0900
998
+ Served asset /images/overlay.png - 404 Not Found (27ms)
999
+
1000
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1001
+
1002
+
1003
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1004
+
1005
+
1006
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:35:55 +0900
1007
+ Processing by Devise::SessionsController#create as HTML
1008
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
1009
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'admin' LIMIT 1
1010
+ Completed 401 Unauthorized in 53ms
1011
+ Processing by Devise::SessionsController#new as HTML
1012
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
1013
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (2.2ms)
1014
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-1.5.3/app/views/devise/sessions/new.html.erb within layouts/application (59.8ms)
1015
+ Completed 200 OK in 218ms (Views: 101.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
1016
+
1017
+
1018
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:56 +0900
1019
+ Served asset /application.js - 304 Not Modified (0ms)
1020
+
1021
+
1022
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:56 +0900
1023
+ Served asset /jquery.js - 304 Not Modified (2ms)
1024
+
1025
+
1026
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:35:56 +0900
1027
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
1028
+
1029
+
1030
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:35:56 +0900
1031
+ Served asset /application.css - 304 Not Modified (0ms)
1032
+
1033
+
1034
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:35:56 +0900
1035
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1036
+
1037
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1038
+
1039
+
1040
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
1041
+
1042
+
1043
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:36:08 +0900
1044
+ Processing by Devise::SessionsController#create as HTML
1045
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"library@example.jp", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
1046
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'library@example.jp' LIMIT 1
1047
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-01-08 13:36:09.086496', "current_sign_in_at" = '2012-01-08 13:36:09.086496', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-08 13:36:09.086859' WHERE "users"."id" = 1
1048
+ Completed 500 Internal Server Error in 214ms
1049
+
1050
+ NameError (undefined local variable or method `root_path' for #<Devise::SessionsController:0x007ff2bd0487f8>):
1051
+
1052
+
1053
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
1054
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
1055
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.9ms)
1056
+
1057
+
1058
+ Started POST "/users/sign_in" for 127.0.0.1 at 2012-01-08 22:36:36 +0900
1059
+ Processing by Devise::SessionsController#create as HTML
1060
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "user"=>{"email"=>"library@example.jp", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
1061
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'library@example.jp' LIMIT 1
1062
+  (0.4ms) UPDATE "users" SET "current_sign_in_at" = '2012-01-08 13:36:37.011230', "sign_in_count" = 2, "updated_at" = '2012-01-08 13:36:37.011831' WHERE "users"."id" = 1
1063
+ Redirected to http://localhost:3000/
1064
+ Completed 302 Found in 226ms
1065
+
1066
+
1067
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:36:37 +0900
1068
+ Processing by SubjectsController#index as HTML
1069
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1070
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1071
+ SOLR Request (3.1ms) [ path=#<RSolr::Client:0x007ff2bd8a56a8> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1072
+ SOLR Request (5.9ms) [ path=#<RSolr::Client:0x007ff2bd8a56a8> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1073
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (4.0ms)
1074
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (22.3ms)
1075
+ Completed 200 OK in 374ms (Views: 59.4ms | ActiveRecord: 2.9ms | Solr: 9.0ms)
1076
+
1077
+
1078
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:36:38 +0900
1079
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1080
+
1081
+
1082
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:36:38 +0900
1083
+ Served asset /jquery.js - 304 Not Modified (0ms)
1084
+
1085
+
1086
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:36:38 +0900
1087
+ Served asset /application.js - 304 Not Modified (0ms)
1088
+
1089
+
1090
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:36:38 +0900
1091
+ Served asset /application.css - 304 Not Modified (0ms)
1092
+
1093
+
1094
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:36:38 +0900
1095
+ Served asset /images/overlay.png - 404 Not Found (1ms)
1096
+
1097
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1098
+
1099
+
1100
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1101
+
1102
+
1103
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1104
+ Processing by SubjectsController#index as HTML
1105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1106
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1107
+ SOLR Request (2.2ms) [ path=#<RSolr::Client:0x007ff2bf446bf0> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1108
+ SOLR Request (2.1ms) [ path=#<RSolr::Client:0x007ff2bf446bf0> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1109
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (13.7ms)
1110
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (14.3ms)
1111
+ Completed 200 OK in 151ms (Views: 19.1ms | ActiveRecord: 1.6ms | Solr: 4.3ms)
1112
+
1113
+
1114
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1115
+ Served asset /application.css - 304 Not Modified (0ms)
1116
+
1117
+
1118
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1119
+ Served asset /jquery.js - 304 Not Modified (0ms)
1120
+
1121
+
1122
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1123
+ Served asset /application.js - 304 Not Modified (0ms)
1124
+
1125
+
1126
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1127
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1128
+
1129
+
1130
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:37:13 +0900
1131
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1132
+
1133
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1134
+
1135
+
1136
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1137
+
1138
+
1139
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:37:30 +0900
1140
+ Processing by SubjectsController#index as HTML
1141
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1142
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1143
+ SOLR Request (5.7ms) [ path=#<RSolr::Client:0x007ff2bd8c3e28> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1144
+ SOLR Request (9.1ms) [ path=#<RSolr::Client:0x007ff2bd8c3e28> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1145
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (73.1ms)
1146
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (74.0ms)
1147
+ Completed 200 OK in 327ms (Views: 81.2ms | ActiveRecord: 2.9ms | Solr: 14.8ms)
1148
+
1149
+
1150
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:30 +0900
1151
+ Served asset /application.js - 304 Not Modified (0ms)
1152
+
1153
+
1154
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:30 +0900
1155
+ Served asset /jquery.js - 304 Not Modified (0ms)
1156
+
1157
+
1158
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:37:31 +0900
1159
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1160
+
1161
+
1162
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:37:31 +0900
1163
+ Served asset /application.css - 304 Not Modified (0ms)
1164
+
1165
+
1166
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:37:31 +0900
1167
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1168
+
1169
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1170
+
1171
+
1172
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1173
+
1174
+
1175
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:39:06 +0900
1176
+ Processing by SubjectsController#index as HTML
1177
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1178
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1179
+ SOLR Request (9.5ms) [ path=#<RSolr::Client:0x007ff2bb212950> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1180
+ SOLR Request (9.5ms) [ path=#<RSolr::Client:0x007ff2bb212950> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1181
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (71.8ms)
1182
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (72.7ms)
1183
+ Completed 200 OK in 290ms (Views: 79.2ms | ActiveRecord: 2.9ms | Solr: 19.0ms)
1184
+
1185
+
1186
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:06 +0900
1187
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1188
+
1189
+
1190
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:06 +0900
1191
+ Served asset /application.js - 304 Not Modified (0ms)
1192
+
1193
+
1194
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:06 +0900
1195
+ Served asset /jquery.js - 304 Not Modified (0ms)
1196
+
1197
+
1198
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:39:06 +0900
1199
+ Served asset /application.css - 304 Not Modified (0ms)
1200
+
1201
+
1202
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:39:07 +0900
1203
+ Served asset /images/overlay.png - 404 Not Found (4ms)
1204
+
1205
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1206
+
1207
+
1208
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
1209
+
1210
+
1211
+ Started GET "/" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1212
+ Processing by SubjectsController#index as HTML
1213
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1214
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1215
+ SOLR Request (2.2ms) [ path=#<RSolr::Client:0x007ff2bb156390> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1216
+ SOLR Request (1.7ms) [ path=#<RSolr::Client:0x007ff2bb156390> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1217
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (38.1ms)
1218
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (38.8ms)
1219
+ Completed 200 OK in 150ms (Views: 43.6ms | ActiveRecord: 1.6ms | Solr: 3.9ms)
1220
+
1221
+
1222
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1223
+ Served asset /application.css - 304 Not Modified (0ms)
1224
+
1225
+
1226
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1227
+ Served asset /jquery.js - 304 Not Modified (0ms)
1228
+
1229
+
1230
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1231
+ Served asset /application.js - 304 Not Modified (0ms)
1232
+
1233
+
1234
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1235
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1236
+
1237
+
1238
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:39:43 +0900
1239
+ Served asset /images/overlay.png - 404 Not Found (1ms)
1240
+
1241
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1242
+
1243
+
1244
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1245
+
1246
+
1247
+ Started GET "/subjects?utf8=%E2%9C%93&query=&commit=Search" for 127.0.0.1 at 2012-01-08 22:40:05 +0900
1248
+ Processing by SubjectsController#index as HTML
1249
+ Parameters: {"utf8"=>"✓", "query"=>"", "commit"=>"Search"}
1250
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1251
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1252
+ SOLR Request (3.8ms) [ path=#<RSolr::Client:0x007ff2bc161d98> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1253
+ SOLR Request (3.0ms) [ path=#<RSolr::Client:0x007ff2bc161d98> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1254
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (2.6ms)
1255
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (3.6ms)
1256
+ Completed 200 OK in 243ms (Views: 13.4ms | ActiveRecord: 2.8ms | Solr: 6.8ms)
1257
+
1258
+
1259
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:40:05 +0900
1260
+ Served asset /application.js - 304 Not Modified (0ms)
1261
+
1262
+
1263
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:40:05 +0900
1264
+ Served asset /jquery.js - 304 Not Modified (0ms)
1265
+
1266
+
1267
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:40:05 +0900
1268
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1269
+
1270
+
1271
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:40:05 +0900
1272
+ Served asset /application.css - 304 Not Modified (0ms)
1273
+
1274
+
1275
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:40:06 +0900
1276
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1277
+
1278
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1279
+
1280
+
1281
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1282
+
1283
+
1284
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:40:08 +0900
1285
+ Processing by SubjectsController#new as HTML
1286
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1287
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1288
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1289
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (647.8ms)
1290
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (650.1ms)
1291
+ Completed 500 Internal Server Error in 863ms
1292
+
1293
+ ActionView::Template::Error (undefined method `error_messages' for #<ActionView::Helpers::FormBuilder:0x007ff2be85eea0>):
1294
+ 1: <%= form_for(@subject) do |f| -%>
1295
+ 2: <%= f.error_messages -%>
1296
+ 3: <div class="field">
1297
+ 4: <%= f.label t('activerecord.models.subject_type') -%>
1298
+
1299
+
1300
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1301
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
1302
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.7ms)
1303
+
1304
+
1305
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:40:44 +0900
1306
+ Processing by SubjectsController#new as HTML
1307
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1308
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1309
+ SubjectType Load (0.3ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1310
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (1088.7ms)
1311
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (1090.0ms)
1312
+ Completed 500 Internal Server Error in 1310ms
1313
+
1314
+ ActionView::Template::Error (undefined method `error_messages' for #<ActionView::Helpers::FormBuilder:0x007ff2be17e478>):
1315
+ 1: <%= form_for(@subject) do |f| -%>
1316
+ 2: <%= f.error_messages -%>
1317
+ 3: <div class="field">
1318
+ 4: <%= f.label t('activerecord.models.subject_type') -%>
1319
+
1320
+
1321
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
1322
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
1323
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.5ms)
1324
+
1325
+
1326
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:41:03 +0900
1327
+ Processing by SubjectsController#new as HTML
1328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1329
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1330
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1331
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (561.0ms)
1332
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (561.8ms)
1333
+ Completed 500 Internal Server Error in 701ms
1334
+
1335
+ ActionView::Template::Error (undefined method `error_messages' for #<ActionView::Helpers::FormBuilder:0x007ff2bf4b0b90>):
1336
+ 1: <%= form_for(@subject) do |f| -%>
1337
+ 2: <%= f.error_messages -%>
1338
+ 3: <div class="field">
1339
+ 4: <%= f.label t('activerecord.models.subject_type') -%>
1340
+
1341
+
1342
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
1343
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1344
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.9ms)
1345
+
1346
+
1347
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:41:06 +0900
1348
+ Processing by SubjectsController#new as HTML
1349
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1350
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1351
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1352
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (1071.8ms)
1353
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (1074.5ms)
1354
+ Completed 500 Internal Server Error in 1227ms
1355
+
1356
+ ActionView::Template::Error (undefined method `error_messages' for #<ActionView::Helpers::FormBuilder:0x007ff2bf78e5d8>):
1357
+ 1: <%= form_for(@subject) do |f| -%>
1358
+ 2: <%= f.error_messages -%>
1359
+ 3: <div class="field">
1360
+ 4: <%= f.label t('activerecord.models.subject_type') -%>
1361
+
1362
+
1363
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
1364
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
1365
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.8ms)
1366
+
1367
+
1368
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:41:33 +0900
1369
+ Processing by SubjectsController#new as HTML
1370
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1371
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1372
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1373
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (12.7ms)
1374
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (40.0ms)
1375
+ Completed 200 OK in 223ms (Views: 60.3ms | ActiveRecord: 2.1ms | Solr: 0.0ms)
1376
+
1377
+
1378
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:41:34 +0900
1379
+ Served asset /application.css - 304 Not Modified (0ms)
1380
+
1381
+
1382
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:34 +0900
1383
+ Served asset /jquery.js - 304 Not Modified (3ms)
1384
+
1385
+
1386
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:34 +0900
1387
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
1388
+
1389
+
1390
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:34 +0900
1391
+ Served asset /application.js - 304 Not Modified (0ms)
1392
+
1393
+
1394
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:41:34 +0900
1395
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1396
+
1397
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1398
+
1399
+
1400
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1401
+
1402
+
1403
+ Started POST "/subjects" for 127.0.0.1 at 2012-01-08 22:41:41 +0900
1404
+ Processing by SubjectsController#create as HTML
1405
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "subject"=>{"term"=>"test", "term_transcription"=>"", "note"=>""}, "commit"=>"Create Subject"}
1406
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1407
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1408
+ SubjectType Load (0.3ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1409
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (4.8ms)
1410
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (7.1ms)
1411
+ SOLR Request (58.4ms) [ path=#<RSolr::Client:0x007f973c84f410> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
1412
+ Completed 200 OK in 505ms (Views: 17.1ms | ActiveRecord: 3.7ms | Solr: 0.0ms)
1413
+
1414
+
1415
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:42 +0900
1416
+ Served asset /jquery.js - 304 Not Modified (0ms)
1417
+
1418
+
1419
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:42 +0900
1420
+ Served asset /application.js - 304 Not Modified (0ms)
1421
+
1422
+
1423
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:41:42 +0900
1424
+ Served asset /application.css - 304 Not Modified (0ms)
1425
+
1426
+
1427
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:42 +0900
1428
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1429
+
1430
+
1431
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:41:42 +0900
1432
+ Served asset /images/overlay.png - 404 Not Found (6ms)
1433
+
1434
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1435
+
1436
+
1437
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1438
+
1439
+
1440
+ Started GET "/subject_types" for 127.0.0.1 at 2012-01-08 22:41:48 +0900
1441
+ Processing by SubjectTypesController#index as HTML
1442
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1443
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1444
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1445
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/index.html.erb within layouts/application (3.4ms)
1446
+ Completed 200 OK in 183ms (Views: 12.2ms | ActiveRecord: 2.9ms | Solr: 0.0ms)
1447
+
1448
+
1449
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:41:48 +0900
1450
+ Served asset /application.css - 304 Not Modified (0ms)
1451
+
1452
+
1453
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:48 +0900
1454
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1455
+
1456
+
1457
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:49 +0900
1458
+ Served asset /jquery.js - 304 Not Modified (0ms)
1459
+
1460
+
1461
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:49 +0900
1462
+ Served asset /application.js - 304 Not Modified (0ms)
1463
+
1464
+
1465
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:41:49 +0900
1466
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1467
+
1468
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1469
+
1470
+
1471
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1472
+
1473
+
1474
+ Started GET "/subject_types/new" for 127.0.0.1 at 2012-01-08 22:41:50 +0900
1475
+ Processing by SubjectTypesController#new as HTML
1476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1477
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1478
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/_form.html.erb (12.6ms)
1479
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/new.html.erb within layouts/application (15.7ms)
1480
+ Completed 200 OK in 175ms (Views: 48.4ms | ActiveRecord: 1.7ms | Solr: 0.0ms)
1481
+
1482
+
1483
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:41:50 +0900
1484
+ Served asset /application.css - 304 Not Modified (0ms)
1485
+
1486
+
1487
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:50 +0900
1488
+ Served asset /application.js - 304 Not Modified (0ms)
1489
+
1490
+
1491
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:50 +0900
1492
+ Served asset /jquery.js - 304 Not Modified (0ms)
1493
+
1494
+
1495
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:41:51 +0900
1496
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1497
+
1498
+
1499
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:41:51 +0900
1500
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1501
+
1502
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1503
+
1504
+
1505
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1506
+
1507
+
1508
+ Started POST "/subject_types" for 127.0.0.1 at 2012-01-08 22:41:53 +0900
1509
+ Processing by SubjectTypesController#create as HTML
1510
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "subject_type"=>{"name"=>"test", "display_name"=>"", "note"=>""}, "commit"=>"Create Subject type"}
1511
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1512
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1513
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" WHERE (1 = 1) ORDER BY position DESC LIMIT 1
1514
+  (0.1ms) SELECT 1 FROM "subject_types" WHERE LOWER("subject_types"."name") = LOWER('test') LIMIT 1
1515
+ SQL (1.6ms) INSERT INTO "subject_types" ("created_at", "display_name", "name", "note", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 13:41:53 UTC +00:00], ["display_name", "test"], ["name", "test"], ["note", ""], ["position", 1], ["updated_at", Sun, 08 Jan 2012 13:41:53 UTC +00:00]]
1516
+ Redirected to http://localhost:3000/subject_types/1
1517
+ Completed 302 Found in 149ms
1518
+
1519
+
1520
+ Started GET "/subject_types/1" for 127.0.0.1 at 2012-01-08 22:41:53 +0900
1521
+ Processing by SubjectTypesController#show as HTML
1522
+ Parameters: {"id"=>"1"}
1523
+ SubjectType Load (0.1ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1524
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1525
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1526
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/show.html.erb within layouts/application (6.4ms)
1527
+ Completed 500 Internal Server Error in 109ms
1528
+
1529
+ ActionView::Template::Error (undefined method `localize' for "test":String):
1530
+ 10:
1531
+ 11: <p>
1532
+ 12: <strong><%= t('activerecord.attributes.subject_type.display_name') -%>:</strong>
1533
+ 13: <%= @subject_type.display_name.localize %>
1534
+ 14: </p>
1535
+ 15:
1536
+ 16: <p>
1537
+
1538
+
1539
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1540
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
1541
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.3ms)
1542
+
1543
+
1544
+ Started GET "/subject_types/1" for 127.0.0.1 at 2012-01-08 22:42:38 +0900
1545
+ Processing by SubjectTypesController#show as HTML
1546
+ Parameters: {"id"=>"1"}
1547
+ SubjectType Load (0.3ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1548
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1549
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1550
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/show.html.erb within layouts/application (421.7ms)
1551
+ Completed 500 Internal Server Error in 825ms
1552
+
1553
+ ActionView::Template::Error (undefined method `back_to_index' for #<#<Class:0x007f9ea5169ce8>:0x007f9ea518b2a8>):
1554
+ 24: <div id="submenu" class="ui-corner-all">
1555
+ 25: <ul>
1556
+ 26: <li><%= link_to t('page.edit'), edit_subject_type_path(@subject_type) %></li>
1557
+ 27: <li><%= back_to_index(flash[:page_info]) %></li>
1558
+ 28: </ul>
1559
+ 29: </div>
1560
+
1561
+
1562
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
1563
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1564
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.9ms)
1565
+
1566
+
1567
+ Started GET "/subject_types/1" for 127.0.0.1 at 2012-01-08 22:43:12 +0900
1568
+ Processing by SubjectTypesController#show as HTML
1569
+ Parameters: {"id"=>"1"}
1570
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1571
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1572
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1573
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/show.html.erb within layouts/application (11.7ms)
1574
+ Completed 200 OK in 353ms (Views: 33.1ms | ActiveRecord: 4.4ms | Solr: 0.0ms)
1575
+
1576
+
1577
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:43:13 +0900
1578
+ Served asset /application.css - 304 Not Modified (0ms)
1579
+
1580
+
1581
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:13 +0900
1582
+ Served asset /application.js - 304 Not Modified (0ms)
1583
+
1584
+
1585
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:13 +0900
1586
+ Served asset /jquery.js - 304 Not Modified (3ms)
1587
+
1588
+
1589
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:13 +0900
1590
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
1591
+
1592
+
1593
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:43:13 +0900
1594
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1595
+
1596
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1597
+
1598
+
1599
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1600
+
1601
+
1602
+ Started GET "/subject_types/1/edit" for 127.0.0.1 at 2012-01-08 22:43:15 +0900
1603
+ Processing by SubjectTypesController#edit as HTML
1604
+ Parameters: {"id"=>"1"}
1605
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1606
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1607
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1608
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/_form.html.erb (13.3ms)
1609
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/edit.html.erb within layouts/application (26.2ms)
1610
+ Completed 200 OK in 379ms (Views: 66.3ms | ActiveRecord: 4.2ms | Solr: 0.0ms)
1611
+
1612
+
1613
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:43:16 +0900
1614
+ Served asset /application.css - 304 Not Modified (0ms)
1615
+
1616
+
1617
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:16 +0900
1618
+ Served asset /jquery.js - 304 Not Modified (0ms)
1619
+
1620
+
1621
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:16 +0900
1622
+ Served asset /application.js - 304 Not Modified (2ms)
1623
+
1624
+
1625
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:16 +0900
1626
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1627
+
1628
+
1629
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:43:16 +0900
1630
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1631
+
1632
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1633
+
1634
+
1635
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
1636
+
1637
+
1638
+ Started PUT "/subject_types/1" for 127.0.0.1 at 2012-01-08 22:43:17 +0900
1639
+ Processing by SubjectTypesController#update as HTML
1640
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "subject_type"=>{"name"=>"test1", "display_name"=>"test", "note"=>""}, "commit"=>"Update Subject type", "id"=>"1"}
1641
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1642
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1643
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1644
+ CACHE (0.0ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1
1645
+  (0.2ms) SELECT 1 FROM "subject_types" WHERE (LOWER("subject_types"."name") = LOWER('test1') AND "subject_types"."id" != 1) LIMIT 1
1646
+  (3.0ms) UPDATE "subject_types" SET "name" = 'test1', "updated_at" = '2012-01-08 13:43:18.355946' WHERE "subject_types"."id" = 1
1647
+ Redirected to http://localhost:3000/subject_types/1
1648
+ Completed 302 Found in 319ms
1649
+
1650
+
1651
+ Started GET "/subject_types/1" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1652
+ Processing by SubjectTypesController#show as HTML
1653
+ Parameters: {"id"=>"1"}
1654
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1655
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1656
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1657
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/show.html.erb within layouts/application (11.8ms)
1658
+ Completed 200 OK in 310ms (Views: 23.3ms | ActiveRecord: 4.2ms | Solr: 0.0ms)
1659
+
1660
+
1661
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1662
+ Served asset /application.css - 304 Not Modified (0ms)
1663
+
1664
+
1665
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1666
+ Served asset /jquery.js - 304 Not Modified (0ms)
1667
+
1668
+
1669
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1670
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1671
+
1672
+
1673
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1674
+ Served asset /application.js - 304 Not Modified (0ms)
1675
+
1676
+
1677
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:43:18 +0900
1678
+ Served asset /images/overlay.png - 404 Not Found (2ms)
1679
+
1680
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1681
+
1682
+
1683
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1684
+
1685
+
1686
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:43:21 +0900
1687
+ Processing by SubjectsController#index as HTML
1688
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1689
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1690
+ SOLR Request (7.7ms) [ path=#<RSolr::Client:0x007f9ea4a3e9f0> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1691
+ SOLR Request (4.1ms) [ path=#<RSolr::Client:0x007f9ea4a3e9f0> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1692
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (3.7ms)
1693
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (5.2ms)
1694
+ Completed 200 OK in 262ms (Views: 14.1ms | ActiveRecord: 3.1ms | Solr: 11.8ms)
1695
+
1696
+
1697
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:43:22 +0900
1698
+ Served asset /application.css - 304 Not Modified (0ms)
1699
+
1700
+
1701
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:22 +0900
1702
+ Served asset /application.js - 304 Not Modified (0ms)
1703
+
1704
+
1705
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:22 +0900
1706
+ Served asset /jquery.js - 304 Not Modified (0ms)
1707
+
1708
+
1709
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:22 +0900
1710
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1711
+
1712
+
1713
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:43:23 +0900
1714
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1715
+
1716
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1717
+
1718
+
1719
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
1720
+
1721
+
1722
+ Started GET "/subjects/new" for 127.0.0.1 at 2012-01-08 22:43:23 +0900
1723
+ Processing by SubjectsController#new as HTML
1724
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1725
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1726
+ SubjectType Load (0.2ms) SELECT "subject_types".* FROM "subject_types" ORDER BY position
1727
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_form.html.erb (18.7ms)
1728
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/new.html.erb within layouts/application (20.1ms)
1729
+ Completed 200 OK in 156ms (Views: 24.5ms | ActiveRecord: 2.2ms | Solr: 0.0ms)
1730
+
1731
+
1732
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:43:24 +0900
1733
+ Served asset /application.css - 304 Not Modified (0ms)
1734
+
1735
+
1736
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:24 +0900
1737
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1738
+
1739
+
1740
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:24 +0900
1741
+ Served asset /jquery.js - 304 Not Modified (0ms)
1742
+
1743
+
1744
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:43:24 +0900
1745
+ Served asset /application.js - 304 Not Modified (0ms)
1746
+
1747
+
1748
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:43:24 +0900
1749
+ Served asset /images/overlay.png - 404 Not Found (2ms)
1750
+
1751
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1752
+
1753
+
1754
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1755
+
1756
+
1757
+ Started POST "/subjects" for 127.0.0.1 at 2012-01-08 22:43:29 +0900
1758
+ Processing by SubjectsController#create as HTML
1759
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "subject"=>{"subject_type_id"=>"1", "term"=>"test", "term_transcription"=>"test2", "note"=>""}, "commit"=>"Create Subject"}
1760
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1761
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1762
+ SubjectType Load (0.1ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = 1 ORDER BY position LIMIT 1
1763
+  (0.1ms) SELECT 1 FROM "subject_types" WHERE (LOWER("subject_types"."name") = LOWER('test1') AND "subject_types"."id" != 1) LIMIT 1
1764
+ SQL (0.9ms) INSERT INTO "subjects" ("created_at", "deleted_at", "lock_version", "note", "parent_id", "required_role_id", "scope_note", "subject_type_id", "term", "term_transcription", "updated_at", "use_term_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 13:43:30 UTC +00:00], ["deleted_at", nil], ["lock_version", 0], ["note", ""], ["parent_id", nil], ["required_role_id", 1], ["scope_note", nil], ["subject_type_id", 1], ["term", "test"], ["term_transcription", "test2"], ["updated_at", Sun, 08 Jan 2012 13:43:30 UTC +00:00], ["use_term_id", nil]]
1765
+ Manifestation Load (0.1ms) SELECT "manifestations".id FROM "manifestations" INNER JOIN "work_has_subjects" ON "manifestations"."id" = "work_has_subjects"."work_id" WHERE "work_has_subjects"."subject_id" = 1
1766
+ SOLR Request (7.6ms) [ path=#<RSolr::Client:0x007f9ea1b23620> parameters={data: <?xml version="1.0" encoding="UTF-8"?><add><doc><field name="id">Subject 1</field><field name="type">Subject</field><field name="type">ActiveRecord::Base</field><field name="class_name">Subject</field><field name="created_at_d">2012-01-08T13:43:30Z</field><field name="required_role_id_i">1</field><field name="term_text">test</field></doc></add>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
1767
+ Redirected to http://localhost:3000/subjects/1
1768
+ SOLR Request (212.3ms) [ path=#<RSolr::Client:0x007f9ea1b23620> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
1769
+ Completed 302 Found in 457ms
1770
+
1771
+
1772
+ Started GET "/subjects/1" for 127.0.0.1 at 2012-01-08 22:43:30 +0900
1773
+ Processing by SubjectsController#show as HTML
1774
+ Parameters: {"id"=>"1"}
1775
+ Subject Load (0.1ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT 1 [["id", "1"]]
1776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1777
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1778
+ SOLR Request (3.3ms) [ path=#<RSolr::Client:0x007f9ea1b23620> parameters={data: fq=type%3AManifestation&fq=subject_ids_im%3A1&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1779
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/show.html.erb within layouts/application (321.2ms)
1780
+ Completed 500 Internal Server Error in 469ms
1781
+
1782
+ ActionView::Template::Error (undefined method `link_to_wikipedia' for #<#<Class:0x007f9ea1eeeed0>:0x007f9ea1ef20f8>):
1783
+ 7: [S]
1784
+ 8: <%= @subject.term -%>
1785
+ 9: </h2>
1786
+ 10: <p>
1787
+ 11: (<%= link_to_wikipedia(@subject.term) -%>)
1788
+ 12: </p>
1789
+ 13:
1790
+
1791
+
1792
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
1793
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1794
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.6ms)
1795
+
1796
+
1797
+ Started GET "/subjects/1" for 127.0.0.1 at 2012-01-08 22:43:57 +0900
1798
+ Processing by SubjectsController#show as HTML
1799
+ Parameters: {"id"=>"1"}
1800
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT 1 [["id", "1"]]
1801
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1802
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1803
+ SOLR Request (10.9ms) [ path=#<RSolr::Client:0x007f9ea1b23620> parameters={data: fq=type%3AManifestation&fq=subject_ids_im%3A1&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1804
+ SubjectHeadingType Load (0.2ms) SELECT "subject_heading_types".* FROM "subject_heading_types" INNER JOIN "subject_heading_type_has_subjects" ON "subject_heading_types"."id" = "subject_heading_type_has_subjects"."subject_heading_type_id" WHERE "subject_heading_type_has_subjects"."subject_id" = 1
1805
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_show_work_list.html.erb (1.1ms)
1806
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/show.html.erb within layouts/application (638.1ms)
1807
+ Completed 500 Internal Server Error in 914ms
1808
+
1809
+ ActionView::Template::Error (undefined local variable or method `current_user_role_name' for #<#<Class:0x007f9ea1e19d48>:0x007f9ea1b7baf0>):
1810
+ 24:
1811
+ 25: <div id="tabs">
1812
+ 26: <ul>
1813
+ 27: <li title="active" class="selected"><a href="#work"><em><%= t('activerecord.models.work') -%></em></a></li>
1814
+ 28: <li><a href="#classification"><em><%= t('activerecord.models.classification') -%></em></a></li>
1815
+ 29: </ul>
1816
+ 30: <%= render 'subjects/show_work_list' -%>
1817
+
1818
+
1819
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
1820
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1821
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.1ms)
1822
+
1823
+
1824
+ Started GET "/subjects/1" for 127.0.0.1 at 2012-01-08 22:44:20 +0900
1825
+ Processing by SubjectsController#show as HTML
1826
+ Parameters: {"id"=>"1"}
1827
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT 1 [["id", "1"]]
1828
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1829
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1830
+ SOLR Request (4.5ms) [ path=#<RSolr::Client:0x007f9ea1b23620> parameters={data: fq=type%3AManifestation&fq=subject_ids_im%3A1&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1831
+ SubjectHeadingType Load (0.2ms) SELECT "subject_heading_types".* FROM "subject_heading_types" INNER JOIN "subject_heading_type_has_subjects" ON "subject_heading_types"."id" = "subject_heading_type_has_subjects"."subject_heading_type_id" WHERE "subject_heading_type_has_subjects"."subject_id" = 1
1832
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_show_work_list.html.erb (0.3ms)
1833
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" INNER JOIN "subject_has_classifications" ON "classifications"."id" = "subject_has_classifications"."classification_id" WHERE "subject_has_classifications"."subject_id" = 1
1834
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/show.html.erb within layouts/application (81.0ms)
1835
+ Completed 200 OK in 344ms (Views: 90.3ms | ActiveRecord: 5.1ms | Solr: 4.5ms)
1836
+
1837
+
1838
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:44:21 +0900
1839
+ Served asset /jquery.js - 304 Not Modified (0ms)
1840
+
1841
+
1842
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:44:21 +0900
1843
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1844
+
1845
+
1846
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:44:21 +0900
1847
+ Served asset /application.css - 304 Not Modified (0ms)
1848
+
1849
+
1850
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:44:21 +0900
1851
+ Served asset /application.js - 304 Not Modified (0ms)
1852
+
1853
+
1854
+ Started GET "/assets/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-01-08 22:44:21 +0900
1855
+ Served asset /images/ui-bg_glass_65_ffffff_1x400.png - 404 Not Found (3ms)
1856
+
1857
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_glass_65_ffffff_1x400.png"):
1858
+
1859
+
1860
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1861
+
1862
+
1863
+ Started GET "/assets/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-01-08 22:44:22 +0900
1864
+ Served asset /images/ui-bg_flat_75_ffffff_40x100.png - 404 Not Found (3ms)
1865
+
1866
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_flat_75_ffffff_40x100.png"):
1867
+
1868
+
1869
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1870
+
1871
+
1872
+ Started GET "/assets/images/ui-bg_glass_75_e6e6e6_1x400.png" for 127.0.0.1 at 2012-01-08 22:44:22 +0900
1873
+ Served asset /images/ui-bg_glass_75_e6e6e6_1x400.png - 404 Not Found (3ms)
1874
+
1875
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_glass_75_e6e6e6_1x400.png"):
1876
+
1877
+
1878
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1879
+
1880
+
1881
+ Started GET "/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png" for 127.0.0.1 at 2012-01-08 22:44:22 +0900
1882
+ Served asset /images/ui-bg_highlight-soft_75_cccccc_1x100.png - 404 Not Found (3ms)
1883
+
1884
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png"):
1885
+
1886
+
1887
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1888
+
1889
+
1890
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:44:22 +0900
1891
+ Served asset /images/overlay.png - 404 Not Found (3ms)
1892
+
1893
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1894
+
1895
+
1896
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
1897
+
1898
+
1899
+ Started GET "/subjects/1" for 127.0.0.1 at 2012-01-08 22:44:59 +0900
1900
+ Processing by SubjectsController#show as HTML
1901
+ Parameters: {"id"=>"1"}
1902
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT 1 [["id", "1"]]
1903
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1904
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1905
+ SOLR Request (2.5ms) [ path=#<RSolr::Client:0x007f9ea27204a0> parameters={data: fq=type%3AManifestation&fq=subject_ids_im%3A1&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
1906
+ SubjectHeadingType Load (0.1ms) SELECT "subject_heading_types".* FROM "subject_heading_types" INNER JOIN "subject_heading_type_has_subjects" ON "subject_heading_types"."id" = "subject_heading_type_has_subjects"."subject_heading_type_id" WHERE "subject_heading_type_has_subjects"."subject_id" = 1
1907
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_show_work_list.html.erb (0.2ms)
1908
+ Classification Load (0.1ms) SELECT "classifications".* FROM "classifications" INNER JOIN "subject_has_classifications" ON "classifications"."id" = "subject_has_classifications"."classification_id" WHERE "subject_has_classifications"."subject_id" = 1
1909
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/show.html.erb within layouts/application (61.7ms)
1910
+ Completed 200 OK in 254ms (Views: 65.6ms | ActiveRecord: 3.5ms | Solr: 2.5ms)
1911
+
1912
+
1913
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1914
+ Served asset /application.css - 304 Not Modified (0ms)
1915
+
1916
+
1917
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1918
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1919
+
1920
+
1921
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1922
+ Served asset /application.js - 304 Not Modified (0ms)
1923
+
1924
+
1925
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1926
+ Served asset /jquery.js - 304 Not Modified (0ms)
1927
+
1928
+
1929
+ Started GET "/assets/images/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1930
+ Served asset /images/ui-bg_flat_75_ffffff_40x100.png - 404 Not Found (1ms)
1931
+
1932
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_flat_75_ffffff_40x100.png"):
1933
+
1934
+
1935
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1936
+
1937
+
1938
+ Started GET "/assets/images/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1939
+ Served asset /images/ui-bg_glass_65_ffffff_1x400.png - 404 Not Found (1ms)
1940
+
1941
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_glass_65_ffffff_1x400.png"):
1942
+
1943
+
1944
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms)
1945
+
1946
+
1947
+ Started GET "/assets/images/ui-bg_glass_75_e6e6e6_1x400.png" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1948
+ Served asset /images/ui-bg_glass_75_e6e6e6_1x400.png - 404 Not Found (29ms)
1949
+
1950
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_glass_75_e6e6e6_1x400.png"):
1951
+
1952
+
1953
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
1954
+
1955
+
1956
+ Started GET "/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1957
+ Served asset /images/ui-bg_highlight-soft_75_cccccc_1x100.png - 404 Not Found (1ms)
1958
+
1959
+ ActionController::RoutingError (No route matches [GET] "/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png"):
1960
+
1961
+
1962
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1963
+
1964
+
1965
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:45:04 +0900
1966
+ Served asset /images/overlay.png - 404 Not Found (2ms)
1967
+
1968
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
1969
+
1970
+
1971
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1972
+
1973
+
1974
+ Started GET "/subject_types/1/edit" for 127.0.0.1 at 2012-01-08 22:47:39 +0900
1975
+ Processing by SubjectTypesController#edit as HTML
1976
+ Parameters: {"id"=>"1"}
1977
+ SubjectType Load (0.1ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
1978
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1979
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
1980
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/_form.html.erb (7.3ms)
1981
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/edit.html.erb within layouts/application (8.8ms)
1982
+ Completed 200 OK in 144ms (Views: 13.8ms | ActiveRecord: 1.9ms | Solr: 0.0ms)
1983
+
1984
+
1985
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:47:45 +0900
1986
+ Served asset /application.css - 304 Not Modified (0ms)
1987
+
1988
+
1989
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:47:45 +0900
1990
+ Served asset /jquery.js - 304 Not Modified (0ms)
1991
+
1992
+
1993
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:47:45 +0900
1994
+ Served asset /application.js - 304 Not Modified (0ms)
1995
+
1996
+
1997
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:47:45 +0900
1998
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1999
+
2000
+
2001
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:47:45 +0900
2002
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2003
+
2004
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2005
+
2006
+
2007
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2008
+
2009
+
2010
+ Started GET "/subject_types/1/edit" for 127.0.0.1 at 2012-01-08 22:49:17 +0900
2011
+ Processing by SubjectTypesController#edit as HTML
2012
+ Parameters: {"id"=>"1"}
2013
+ SubjectType Load (0.3ms) SELECT "subject_types".* FROM "subject_types" WHERE "subject_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2014
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2015
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2016
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/_form.html.erb (13.5ms)
2017
+ Rendered /Users/kosuke/enju_subject/app/views/subject_types/edit.html.erb within layouts/application (30.6ms)
2018
+ Completed 200 OK in 490ms (Views: 124.7ms | ActiveRecord: 4.3ms | Solr: 0.0ms)
2019
+
2020
+
2021
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:49:18 +0900
2022
+ Served asset /application.css - 304 Not Modified (0ms)
2023
+
2024
+
2025
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:18 +0900
2026
+ Served asset /jquery.js - 304 Not Modified (2ms)
2027
+
2028
+
2029
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:18 +0900
2030
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
2031
+
2032
+
2033
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:18 +0900
2034
+ Served asset /application.js - 304 Not Modified (0ms)
2035
+
2036
+
2037
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:49:18 +0900
2038
+ Served asset /images/overlay.png - 404 Not Found (38ms)
2039
+
2040
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2041
+
2042
+
2043
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2044
+
2045
+
2046
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:49:51 +0900
2047
+ Processing by SubjectsController#index as HTML
2048
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2049
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2050
+ SOLR Request (3.9ms) [ path=#<RSolr::Client:0x007fe8b2dc2038> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2051
+ SOLR Request (3.1ms) [ path=#<RSolr::Client:0x007fe8b2dc2038> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2052
+ Subject Load (0.1ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" IN (1)
2053
+ WorkHasSubject Load (0.2ms) SELECT "work_has_subjects".* FROM "work_has_subjects" WHERE "work_has_subjects"."subject_id" IN (1)
2054
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (3.7ms)
2055
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (4.9ms)
2056
+ Completed 200 OK in 269ms (Views: 9.1ms | ActiveRecord: 2.7ms | Solr: 7.0ms)
2057
+
2058
+
2059
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:49:51 +0900
2060
+ Served asset /application.css - 304 Not Modified (0ms)
2061
+
2062
+
2063
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:51 +0900
2064
+ Served asset /jquery.js - 304 Not Modified (0ms)
2065
+
2066
+
2067
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:51 +0900
2068
+ Served asset /application.js - 304 Not Modified (0ms)
2069
+
2070
+
2071
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:49:51 +0900
2072
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2073
+
2074
+
2075
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:49:52 +0900
2076
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2077
+
2078
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2079
+
2080
+
2081
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2082
+
2083
+
2084
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:50:25 +0900
2085
+ Processing by SubjectsController#index as HTML
2086
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2087
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2088
+ SOLR Request (2.4ms) [ path=#<RSolr::Client:0x007fe8b2c64a38> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2089
+ SOLR Request (2.7ms) [ path=#<RSolr::Client:0x007fe8b2c64a38> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2090
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" IN (1)
2091
+ WorkHasSubject Load (0.2ms) SELECT "work_has_subjects".* FROM "work_has_subjects" WHERE "work_has_subjects"."subject_id" IN (1)
2092
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (42.0ms)
2093
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (42.6ms)
2094
+ Completed 200 OK in 273ms (Views: 47.0ms | ActiveRecord: 3.6ms | Solr: 5.2ms)
2095
+
2096
+
2097
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:50:25 +0900
2098
+ Served asset /application.css - 304 Not Modified (0ms)
2099
+
2100
+
2101
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:50:25 +0900
2102
+ Served asset /application.js - 304 Not Modified (0ms)
2103
+
2104
+
2105
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:50:25 +0900
2106
+ Served asset /jquery.js - 304 Not Modified (0ms)
2107
+
2108
+
2109
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:50:25 +0900
2110
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2111
+
2112
+
2113
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:50:26 +0900
2114
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2115
+
2116
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2117
+
2118
+
2119
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2120
+
2121
+
2122
+ Started GET "/subjects" for 127.0.0.1 at 2012-01-08 22:51:36 +0900
2123
+ Processing by SubjectsController#index as HTML
2124
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2125
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2126
+ SOLR Request (2.4ms) [ path=#<RSolr::Client:0x007fe8b3a872c8> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2127
+ SOLR Request (1.9ms) [ path=#<RSolr::Client:0x007fe8b3a872c8> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2128
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" IN (1)
2129
+ WorkHasSubject Load (0.2ms) SELECT "work_has_subjects".* FROM "work_has_subjects" WHERE "work_has_subjects"."subject_id" IN (1)
2130
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (19.2ms)
2131
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (19.9ms)
2132
+ Completed 200 OK in 176ms (Views: 24.2ms | ActiveRecord: 2.3ms | Solr: 4.3ms)
2133
+
2134
+
2135
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:51:36 +0900
2136
+ Served asset /application.css - 304 Not Modified (0ms)
2137
+
2138
+
2139
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:37 +0900
2140
+ Served asset /jquery.js - 304 Not Modified (0ms)
2141
+
2142
+
2143
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:37 +0900
2144
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2145
+
2146
+
2147
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:37 +0900
2148
+ Served asset /application.js - 304 Not Modified (0ms)
2149
+
2150
+
2151
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:51:37 +0900
2152
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2153
+
2154
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2155
+
2156
+
2157
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2158
+
2159
+
2160
+ Started GET "/subjects?utf8=%E2%9C%93&query=test&commit=Search" for 127.0.0.1 at 2012-01-08 22:51:44 +0900
2161
+ Processing by SubjectsController#index as HTML
2162
+ Parameters: {"utf8"=>"✓", "query"=>"test", "commit"=>"Search"}
2163
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2164
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2165
+ SOLR Request (8.3ms) [ path=#<RSolr::Client:0x007fe8b380d7b8> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2166
+ SOLR Request (41.7ms) [ path=#<RSolr::Client:0x007fe8b380d7b8> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&q=test&fl=%2A+score&qf=term_text&defType=dismax&start=0&rows=10, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2167
+ Subject Load (0.2ms) SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" IN (1)
2168
+ WorkHasSubject Load (0.3ms) SELECT "work_has_subjects".* FROM "work_has_subjects" WHERE "work_has_subjects"."subject_id" IN (1)
2169
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (4.9ms)
2170
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (5.7ms)
2171
+ Completed 200 OK in 316ms (Views: 12.4ms | ActiveRecord: 3.8ms | Solr: 49.9ms)
2172
+
2173
+
2174
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:45 +0900
2175
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2176
+
2177
+
2178
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:45 +0900
2179
+ Served asset /jquery.js - 304 Not Modified (0ms)
2180
+
2181
+
2182
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:45 +0900
2183
+ Served asset /application.js - 304 Not Modified (0ms)
2184
+
2185
+
2186
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:51:45 +0900
2187
+ Served asset /application.css - 304 Not Modified (0ms)
2188
+
2189
+
2190
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:51:45 +0900
2191
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2192
+
2193
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2194
+
2195
+
2196
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2197
+
2198
+
2199
+ Started GET "/subjects?utf8=%E2%9C%93&query=test44&commit=Search" for 127.0.0.1 at 2012-01-08 22:51:48 +0900
2200
+ Processing by SubjectsController#index as HTML
2201
+ Parameters: {"utf8"=>"✓", "query"=>"test44", "commit"=>"Search"}
2202
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2203
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2204
+ SOLR Request (3.3ms) [ path=#<RSolr::Client:0x007fe8b3d78e00> parameters={data: fq=type%3ASubject&start=0&rows=30&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2205
+ SOLR Request (4.0ms) [ path=#<RSolr::Client:0x007fe8b3d78e00> parameters={data: fq=type%3ASubject&fq=required_role_id_i%3A%5B%2A+TO+4%5D&sort=created_at_d+desc&q=test44&fl=%2A+score&qf=term_text&defType=dismax&start=0&rows=10, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2206
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/_index.html.erb (2.5ms)
2207
+ Rendered /Users/kosuke/enju_subject/app/views/subjects/index.html.erb within layouts/application (3.9ms)
2208
+ Completed 200 OK in 277ms (Views: 13.9ms | ActiveRecord: 2.9ms | Solr: 7.3ms)
2209
+
2210
+
2211
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:51:49 +0900
2212
+ Served asset /application.css - 304 Not Modified (0ms)
2213
+
2214
+
2215
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:49 +0900
2216
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2217
+
2218
+
2219
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:49 +0900
2220
+ Served asset /jquery.js - 304 Not Modified (0ms)
2221
+
2222
+
2223
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:49 +0900
2224
+ Served asset /application.js - 304 Not Modified (0ms)
2225
+
2226
+
2227
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:51:49 +0900
2228
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2229
+
2230
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2231
+
2232
+
2233
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
2234
+
2235
+
2236
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 22:51:53 +0900
2237
+ Processing by ClassificationsController#index as HTML
2238
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2239
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2240
+ SOLR Request (3.6ms) [ path=#<RSolr::Client:0x007fe8b6157560> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2241
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (4.1ms)
2242
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (21.7ms)
2243
+ Completed 200 OK in 300ms (Views: 58.4ms | ActiveRecord: 2.7ms | Solr: 3.6ms)
2244
+
2245
+
2246
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:51:54 +0900
2247
+ Served asset /application.css - 304 Not Modified (0ms)
2248
+
2249
+
2250
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:54 +0900
2251
+ Served asset /application.js - 304 Not Modified (0ms)
2252
+
2253
+
2254
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:54 +0900
2255
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2256
+
2257
+
2258
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:54 +0900
2259
+ Served asset /jquery.js - 304 Not Modified (0ms)
2260
+
2261
+
2262
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:51:55 +0900
2263
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2264
+
2265
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2266
+
2267
+
2268
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
2269
+
2270
+
2271
+ Started GET "/classifications/new" for 127.0.0.1 at 2012-01-08 22:51:58 +0900
2272
+ Processing by ClassificationsController#new as HTML
2273
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2274
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2275
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2276
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (4.4ms)
2277
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (8.4ms)
2278
+ Completed 200 OK in 316ms (Views: 53.7ms | ActiveRecord: 4.0ms | Solr: 0.0ms)
2279
+
2280
+
2281
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:59 +0900
2282
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2283
+
2284
+
2285
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:59 +0900
2286
+ Served asset /jquery.js - 304 Not Modified (0ms)
2287
+
2288
+
2289
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:51:59 +0900
2290
+ Served asset /application.js - 304 Not Modified (0ms)
2291
+
2292
+
2293
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:51:59 +0900
2294
+ Served asset /application.css - 304 Not Modified (0ms)
2295
+
2296
+
2297
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:51:59 +0900
2298
+ Served asset /images/overlay.png - 404 Not Found (4ms)
2299
+
2300
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2301
+
2302
+
2303
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2304
+
2305
+
2306
+ Started GET "/classifications/new" for 127.0.0.1 at 2012-01-08 22:52:28 +0900
2307
+ Processing by ClassificationsController#new as HTML
2308
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2309
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2310
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2311
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (4.8ms)
2312
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (6.1ms)
2313
+ Completed 200 OK in 280ms (Views: 13.5ms | ActiveRecord: 3.6ms | Solr: 0.0ms)
2314
+
2315
+
2316
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:28 +0900
2317
+ Served asset /application.css - 304 Not Modified (0ms)
2318
+
2319
+
2320
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:28 +0900
2321
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2322
+
2323
+
2324
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:29 +0900
2325
+ Served asset /application.js - 304 Not Modified (0ms)
2326
+
2327
+
2328
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:29 +0900
2329
+ Served asset /jquery.js - 304 Not Modified (0ms)
2330
+
2331
+
2332
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:29 +0900
2333
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2334
+
2335
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2336
+
2337
+
2338
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
2339
+
2340
+
2341
+ Started POST "/classifications" for 127.0.0.1 at 2012-01-08 22:52:34 +0900
2342
+ Processing by ClassificationsController#create as HTML
2343
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "classification"=>{"category"=>"test", "note"=>""}, "commit"=>"Create Classification"}
2344
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2345
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2346
+  (0.2ms) SELECT 1 FROM "classifications" WHERE ("classifications"."category" = 'test' AND "classifications"."classification_type_id" IS NULL) LIMIT 1
2347
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2348
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (4.4ms)
2349
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (6.1ms)
2350
+ SOLR Request (44.7ms) [ path=#<RSolr::Client:0x007fe8b384a398> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2351
+ Completed 200 OK in 398ms (Views: 25.5ms | ActiveRecord: 3.7ms | Solr: 0.0ms)
2352
+
2353
+
2354
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:34 +0900
2355
+ Served asset /application.css - 304 Not Modified (0ms)
2356
+
2357
+
2358
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:34 +0900
2359
+ Served asset /jquery.js - 304 Not Modified (0ms)
2360
+
2361
+
2362
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:34 +0900
2363
+ Served asset /application.js - 304 Not Modified (0ms)
2364
+
2365
+
2366
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:34 +0900
2367
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2368
+
2369
+
2370
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:35 +0900
2371
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2372
+
2373
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2374
+
2375
+
2376
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2377
+
2378
+
2379
+ Started GET "/classifications/new" for 127.0.0.1 at 2012-01-08 22:52:38 +0900
2380
+ Processing by ClassificationsController#new as HTML
2381
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2382
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2383
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2384
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (3.9ms)
2385
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (5.9ms)
2386
+ Completed 200 OK in 232ms (Views: 17.0ms | ActiveRecord: 3.8ms | Solr: 0.0ms)
2387
+
2388
+
2389
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:39 +0900
2390
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2391
+
2392
+
2393
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:39 +0900
2394
+ Served asset /application.js - 304 Not Modified (0ms)
2395
+
2396
+
2397
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:39 +0900
2398
+ Served asset /application.css - 304 Not Modified (0ms)
2399
+
2400
+
2401
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:39 +0900
2402
+ Served asset /jquery.js - 304 Not Modified (0ms)
2403
+
2404
+
2405
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:39 +0900
2406
+ Served asset /images/overlay.png - 404 Not Found (4ms)
2407
+
2408
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2409
+
2410
+
2411
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
2412
+
2413
+
2414
+ Started GET "/classification_types" for 127.0.0.1 at 2012-01-08 22:52:50 +0900
2415
+ Processing by ClassificationTypesController#index as HTML
2416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2417
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2418
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2419
+ Rendered /Users/kosuke/enju_subject/app/views/classification_types/index.html.erb within layouts/application (3.7ms)
2420
+ Completed 200 OK in 212ms (Views: 29.5ms | ActiveRecord: 3.0ms | Solr: 0.0ms)
2421
+
2422
+
2423
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:50 +0900
2424
+ Served asset /application.js - 304 Not Modified (0ms)
2425
+
2426
+
2427
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:51 +0900
2428
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2429
+
2430
+
2431
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:51 +0900
2432
+ Served asset /jquery.js - 304 Not Modified (0ms)
2433
+
2434
+
2435
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:51 +0900
2436
+ Served asset /application.css - 304 Not Modified (0ms)
2437
+
2438
+
2439
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:51 +0900
2440
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2441
+
2442
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2443
+
2444
+
2445
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2446
+
2447
+
2448
+ Started GET "/classification_types/new" for 127.0.0.1 at 2012-01-08 22:52:52 +0900
2449
+ Processing by ClassificationTypesController#new as HTML
2450
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2451
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2452
+ Rendered /Users/kosuke/enju_subject/app/views/classification_types/_form.html.erb (7.7ms)
2453
+ Rendered /Users/kosuke/enju_subject/app/views/classification_types/new.html.erb within layouts/application (10.0ms)
2454
+ Completed 200 OK in 142ms (Views: 16.5ms | ActiveRecord: 1.7ms | Solr: 0.0ms)
2455
+
2456
+
2457
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:53 +0900
2458
+ Served asset /application.css - 304 Not Modified (0ms)
2459
+
2460
+
2461
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:53 +0900
2462
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2463
+
2464
+
2465
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:53 +0900
2466
+ Served asset /jquery.js - 304 Not Modified (0ms)
2467
+
2468
+
2469
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:53 +0900
2470
+ Served asset /application.js - 304 Not Modified (0ms)
2471
+
2472
+
2473
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:53 +0900
2474
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2475
+
2476
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2477
+
2478
+
2479
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2480
+
2481
+
2482
+ Started POST "/classification_types" for 127.0.0.1 at 2012-01-08 22:52:55 +0900
2483
+ Processing by ClassificationTypesController#create as HTML
2484
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "classification_type"=>{"name"=>"test", "display_name"=>"", "note"=>""}, "commit"=>"Create Classification type"}
2485
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2486
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2487
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE (1 = 1) ORDER BY position DESC LIMIT 1
2488
+  (0.1ms) SELECT 1 FROM "classification_types" WHERE LOWER("classification_types"."name") = LOWER('test') LIMIT 1
2489
+ SQL (4.2ms) INSERT INTO "classification_types" ("created_at", "display_name", "name", "note", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 13:52:55 UTC +00:00], ["display_name", "test"], ["name", "test"], ["note", ""], ["position", 1], ["updated_at", Sun, 08 Jan 2012 13:52:55 UTC +00:00]]
2490
+ Redirected to http://localhost:3000/classification_types/1
2491
+ Completed 302 Found in 262ms
2492
+
2493
+
2494
+ Started GET "/classification_types/1" for 127.0.0.1 at 2012-01-08 22:52:55 +0900
2495
+ Processing by ClassificationTypesController#show as HTML
2496
+ Parameters: {"id"=>"1"}
2497
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2498
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2499
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2500
+ Rendered /Users/kosuke/enju_subject/app/views/classification_types/show.html.erb within layouts/application (12.1ms)
2501
+ Completed 200 OK in 196ms (Views: 26.6ms | ActiveRecord: 3.4ms | Solr: 0.0ms)
2502
+
2503
+
2504
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:52:55 +0900
2505
+ Served asset /application.css - 304 Not Modified (0ms)
2506
+
2507
+
2508
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:56 +0900
2509
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2510
+
2511
+
2512
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:56 +0900
2513
+ Served asset /application.js - 304 Not Modified (0ms)
2514
+
2515
+
2516
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:52:56 +0900
2517
+ Served asset /jquery.js - 304 Not Modified (0ms)
2518
+
2519
+
2520
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:52:56 +0900
2521
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2522
+
2523
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2524
+
2525
+
2526
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2527
+
2528
+
2529
+ Started GET "/classification_types/1/classifications" for 127.0.0.1 at 2012-01-08 22:52:59 +0900
2530
+ Processing by ClassificationsController#show as HTML
2531
+ Parameters: {"classification_type_id"=>"1"}
2532
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2533
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2534
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2535
+ Rendered public/404.html within layouts/application (0.4ms)
2536
+ Completed 404 Not Found in 281ms (Views: 14.7ms | ActiveRecord: 4.3ms | Solr: 0.0ms)
2537
+
2538
+
2539
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:53:00 +0900
2540
+ Served asset /application.css - 304 Not Modified (0ms)
2541
+
2542
+
2543
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:00 +0900
2544
+ Served asset /jquery.js - 304 Not Modified (0ms)
2545
+
2546
+
2547
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:00 +0900
2548
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2549
+
2550
+
2551
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:00 +0900
2552
+ Served asset /application.js - 304 Not Modified (0ms)
2553
+
2554
+
2555
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:53:00 +0900
2556
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2557
+
2558
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2559
+
2560
+
2561
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2562
+
2563
+
2564
+ Started GET "/classification_types/1/classifications" for 127.0.0.1 at 2012-01-08 22:53:18 +0900
2565
+ Processing by ClassificationsController#show as HTML
2566
+ Parameters: {"classification_type_id"=>"1"}
2567
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2568
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2569
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2570
+ Rendered public/404.html within layouts/application (0.1ms)
2571
+ Completed 404 Not Found in 252ms (Views: 11.4ms | ActiveRecord: 3.5ms | Solr: 0.0ms)
2572
+
2573
+
2574
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:53:19 +0900
2575
+ Served asset /application.css - 304 Not Modified (0ms)
2576
+
2577
+
2578
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:19 +0900
2579
+ Served asset /jquery.js - 304 Not Modified (0ms)
2580
+
2581
+
2582
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:19 +0900
2583
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2584
+
2585
+
2586
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:19 +0900
2587
+ Served asset /application.js - 304 Not Modified (0ms)
2588
+
2589
+
2590
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:53:20 +0900
2591
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2592
+
2593
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2594
+
2595
+
2596
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2597
+
2598
+
2599
+ Started GET "/classification_types/1/classifications" for 127.0.0.1 at 2012-01-08 22:53:57 +0900
2600
+ Processing by ClassificationsController#index as HTML
2601
+ Parameters: {"classification_type_id"=>"1"}
2602
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2603
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2604
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2605
+ SOLR Request (4.0ms) [ path=#<RSolr::Client:0x007fe8b3e34e48> parameters={data: fq=type%3AClassification&fq=classification_type_id_i%3A1&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2606
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (2.9ms)
2607
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (4.0ms)
2608
+ Completed 200 OK in 263ms (Views: 22.9ms | ActiveRecord: 3.4ms | Solr: 4.0ms)
2609
+
2610
+
2611
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:53:57 +0900
2612
+ Served asset /application.css - 304 Not Modified (0ms)
2613
+
2614
+
2615
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:57 +0900
2616
+ Served asset /application.js - 304 Not Modified (0ms)
2617
+
2618
+
2619
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:57 +0900
2620
+ Served asset /jquery.js - 304 Not Modified (0ms)
2621
+
2622
+
2623
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:53:58 +0900
2624
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2625
+
2626
+
2627
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:53:58 +0900
2628
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2629
+
2630
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2631
+
2632
+
2633
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2634
+
2635
+
2636
+ Started GET "/classification_types/1/classifications/new" for 127.0.0.1 at 2012-01-08 22:56:44 +0900
2637
+ Processing by ClassificationsController#new as HTML
2638
+ Parameters: {"classification_type_id"=>"1"}
2639
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2640
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2641
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = ? ORDER BY position LIMIT 1 [["id", "1"]]
2642
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2643
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (4.0ms)
2644
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (5.3ms)
2645
+ Completed 200 OK in 283ms (Views: 16.6ms | ActiveRecord: 4.0ms | Solr: 0.0ms)
2646
+
2647
+
2648
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:56:45 +0900
2649
+ Served asset /jquery.js - 304 Not Modified (0ms)
2650
+
2651
+
2652
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:56:45 +0900
2653
+ Served asset /application.js - 304 Not Modified (0ms)
2654
+
2655
+
2656
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:56:45 +0900
2657
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2658
+
2659
+
2660
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:56:45 +0900
2661
+ Served asset /application.css - 304 Not Modified (0ms)
2662
+
2663
+
2664
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:56:45 +0900
2665
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2666
+
2667
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2668
+
2669
+
2670
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2671
+
2672
+
2673
+ Started POST "/classifications" for 127.0.0.1 at 2012-01-08 22:56:48 +0900
2674
+ Processing by ClassificationsController#create as HTML
2675
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "classification"=>{"category"=>"hoge", "note"=>"", "classification_type_id"=>"1"}, "commit"=>"Create Classification"}
2676
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2677
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2678
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2679
+  (0.1ms) SELECT 1 FROM "classification_types" WHERE (LOWER("classification_types"."name") = LOWER('test') AND "classification_types"."id" != 1) LIMIT 1
2680
+  (0.1ms) SELECT 1 FROM "classifications" WHERE ("classifications"."category" = 'hoge' AND "classifications"."classification_type_id" = 1) LIMIT 1
2681
+ SQL (1.3ms) INSERT INTO "classifications" ("category", "classification_type_id", "created_at", "lft", "note", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["category", "hoge"], ["classification_type_id", 1], ["created_at", Sun, 08 Jan 2012 13:56:49 UTC +00:00], ["lft", nil], ["note", ""], ["parent_id", nil], ["rgt", nil], ["updated_at", Sun, 08 Jan 2012 13:56:49 UTC +00:00]]
2682
+ Subject Load (0.1ms) SELECT "subjects".id FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 1
2683
+ Subject Load (0.1ms) SELECT "subjects".* FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 1
2684
+ SOLR Request (11.1ms) [ path=#<RSolr::Client:0x007fe8b2ce4c38> parameters={data: <?xml version="1.0" encoding="UTF-8"?><add><doc><field name="id">Classification 1</field><field name="type">Classification</field><field name="type">ActiveRecord::Base</field><field name="class_name">Classification</field><field name="classification_type_id_i">1</field><field name="category_text">hoge</field><field name="note_text"></field></doc></add>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2685
+ Redirected to http://localhost:3000/classifications/1
2686
+ SOLR Request (42.9ms) [ path=#<RSolr::Client:0x007fe8b2ce4c38> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2687
+ Completed 302 Found in 365ms
2688
+
2689
+
2690
+ Started GET "/classifications/1" for 127.0.0.1 at 2012-01-08 22:56:49 +0900
2691
+ Processing by ClassificationsController#show as HTML
2692
+ Parameters: {"id"=>"1"}
2693
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "1"]]
2694
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2695
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2696
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2697
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/show.html.erb within layouts/application (13.9ms)
2698
+ Completed 500 Internal Server Error in 248ms
2699
+
2700
+ ActionView::Template::Error (undefined method `parent' for #<Classification:0x007fe8b3e32a30>):
2701
+ 5:
2702
+ 6: <p>
2703
+ 7: <strong><%= t('activerecord.attributes.classification.parent') -%>:</strong>
2704
+ 8: <%= link_to @classification.parent.category, @classification.parent %>
2705
+ 9: </p>
2706
+ 10:
2707
+ 11: <p>
2708
+
2709
+
2710
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
2711
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
2712
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.0ms)
2713
+
2714
+
2715
+ Started GET "/classifications/1" for 127.0.0.1 at 2012-01-08 22:57:33 +0900
2716
+ Processing by ClassificationsController#show as HTML
2717
+ Parameters: {"id"=>"1"}
2718
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "1"]]
2719
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2720
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2721
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2722
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2723
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/show.html.erb within layouts/application (81.9ms)
2724
+ Completed 500 Internal Server Error in 305ms
2725
+
2726
+ ActionView::Template::Error (undefined method `localize' for #<ClassificationType:0x007fe8b0b0aba8>):
2727
+ 15:
2728
+ 16: <p>
2729
+ 17: <strong><%= t('activerecord.models.classification_type') -%>:</strong>
2730
+ 18: <%= link_to @classification.classification_type.localize, @classification.classification_type %>
2731
+ 19: </p>
2732
+ 20:
2733
+ 21: </div>
2734
+
2735
+
2736
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
2737
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
2738
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.6ms)
2739
+
2740
+
2741
+ Started GET "/classifications/1" for 127.0.0.1 at 2012-01-08 22:57:50 +0900
2742
+ Processing by ClassificationsController#show as HTML
2743
+ Parameters: {"id"=>"1"}
2744
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "1"]]
2745
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2746
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2747
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2748
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2749
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/show.html.erb within layouts/application (31.2ms)
2750
+ Completed 200 OK in 287ms (Views: 41.0ms | ActiveRecord: 4.0ms | Solr: 0.0ms)
2751
+
2752
+
2753
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:57:50 +0900
2754
+ Served asset /application.js - 304 Not Modified (0ms)
2755
+
2756
+
2757
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:57:50 +0900
2758
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2759
+
2760
+
2761
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:57:51 +0900
2762
+ Served asset /jquery.js - 304 Not Modified (0ms)
2763
+
2764
+
2765
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:57:51 +0900
2766
+ Served asset /application.css - 304 Not Modified (0ms)
2767
+
2768
+
2769
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:57:51 +0900
2770
+ Served asset /images/overlay.png - 404 Not Found (1ms)
2771
+
2772
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2773
+
2774
+
2775
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2776
+
2777
+
2778
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 22:58:39 +0900
2779
+ Processing by ClassificationsController#index as HTML
2780
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2781
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2782
+ SOLR Request (4.3ms) [ path=#<RSolr::Client:0x007fe8b39ae978> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
2783
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1)
2784
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2785
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (109.9ms)
2786
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (110.9ms)
2787
+ Completed 200 OK in 397ms (Views: 119.0ms | ActiveRecord: 4.1ms | Solr: 4.3ms)
2788
+
2789
+
2790
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:39 +0900
2791
+ Served asset /jquery.js - 304 Not Modified (0ms)
2792
+
2793
+
2794
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:39 +0900
2795
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2796
+
2797
+
2798
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:40 +0900
2799
+ Served asset /application.js - 304 Not Modified (0ms)
2800
+
2801
+
2802
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:40 +0900
2803
+ Served asset /application.css - 304 Not Modified (0ms)
2804
+
2805
+
2806
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:40 +0900
2807
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2808
+
2809
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2810
+
2811
+
2812
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2813
+
2814
+
2815
+ Started GET "/classifications/new" for 127.0.0.1 at 2012-01-08 22:58:41 +0900
2816
+ Processing by ClassificationsController#new as HTML
2817
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2818
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2819
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2820
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (7.1ms)
2821
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/new.html.erb within layouts/application (7.9ms)
2822
+ Completed 200 OK in 160ms (Views: 12.1ms | ActiveRecord: 2.2ms | Solr: 0.0ms)
2823
+
2824
+
2825
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:41 +0900
2826
+ Served asset /application.css - 304 Not Modified (0ms)
2827
+
2828
+
2829
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:41 +0900
2830
+ Served asset /application.js - 304 Not Modified (0ms)
2831
+
2832
+
2833
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:41 +0900
2834
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2835
+
2836
+
2837
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:42 +0900
2838
+ Served asset /jquery.js - 304 Not Modified (0ms)
2839
+
2840
+
2841
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:42 +0900
2842
+ Served asset /images/overlay.png - 404 Not Found (2ms)
2843
+
2844
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2845
+
2846
+
2847
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
2848
+
2849
+
2850
+ Started POST "/classifications" for 127.0.0.1 at 2012-01-08 22:58:44 +0900
2851
+ Processing by ClassificationsController#create as HTML
2852
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "classification"=>{"category"=>"hogehoge", "note"=>"", "classification_type_id"=>"1"}, "commit"=>"Create Classification"}
2853
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2854
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2855
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2856
+  (0.1ms) SELECT 1 FROM "classification_types" WHERE (LOWER("classification_types"."name") = LOWER('test') AND "classification_types"."id" != 1) LIMIT 1
2857
+  (0.1ms) SELECT 1 FROM "classifications" WHERE ("classifications"."category" = 'hogehoge' AND "classifications"."classification_type_id" = 1) LIMIT 1
2858
+ SQL (1.2ms) INSERT INTO "classifications" ("category", "classification_type_id", "created_at", "lft", "note", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["category", "hogehoge"], ["classification_type_id", 1], ["created_at", Sun, 08 Jan 2012 13:58:45 UTC +00:00], ["lft", nil], ["note", ""], ["parent_id", nil], ["rgt", nil], ["updated_at", Sun, 08 Jan 2012 13:58:45 UTC +00:00]]
2859
+ Subject Load (0.2ms) SELECT "subjects".id FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 2
2860
+ Subject Load (0.1ms) SELECT "subjects".* FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 2
2861
+ SOLR Request (14.9ms) [ path=#<RSolr::Client:0x007fe8b396aa20> parameters={data: <?xml version="1.0" encoding="UTF-8"?><add><doc><field name="id">Classification 2</field><field name="type">Classification</field><field name="type">ActiveRecord::Base</field><field name="class_name">Classification</field><field name="classification_type_id_i">1</field><field name="category_text">hogehoge</field><field name="note_text"></field></doc></add>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2862
+ Redirected to http://localhost:3000/classifications/2
2863
+ SOLR Request (51.5ms) [ path=#<RSolr::Client:0x007fe8b396aa20> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2864
+ Completed 302 Found in 449ms
2865
+
2866
+
2867
+ Started GET "/classifications/2" for 127.0.0.1 at 2012-01-08 22:58:45 +0900
2868
+ Processing by ClassificationsController#show as HTML
2869
+ Parameters: {"id"=>"2"}
2870
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "2"]]
2871
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2872
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2873
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2874
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2875
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/show.html.erb within layouts/application (32.3ms)
2876
+ Completed 200 OK in 302ms (Views: 95.5ms | ActiveRecord: 4.0ms | Solr: 66.5ms)
2877
+
2878
+
2879
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:45 +0900
2880
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2881
+
2882
+
2883
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:46 +0900
2884
+ Served asset /jquery.js - 304 Not Modified (0ms)
2885
+
2886
+
2887
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:46 +0900
2888
+ Served asset /application.js - 304 Not Modified (0ms)
2889
+
2890
+
2891
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:46 +0900
2892
+ Served asset /application.css - 304 Not Modified (0ms)
2893
+
2894
+
2895
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:46 +0900
2896
+ Served asset /images/overlay.png - 404 Not Found (34ms)
2897
+
2898
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2899
+
2900
+
2901
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2902
+
2903
+
2904
+ Started GET "/classifications/2/edit" for 127.0.0.1 at 2012-01-08 22:58:49 +0900
2905
+ Processing by ClassificationsController#edit as HTML
2906
+ Parameters: {"id"=>"2"}
2907
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "2"]]
2908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2909
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2910
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2911
+ ClassificationType Load (0.3ms) SELECT "classification_types".* FROM "classification_types" ORDER BY position
2912
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_form.html.erb (24.2ms)
2913
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/edit.html.erb within layouts/application (27.6ms)
2914
+ Completed 200 OK in 337ms (Views: 59.5ms | ActiveRecord: 4.1ms | Solr: 0.0ms)
2915
+
2916
+
2917
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:49 +0900
2918
+ Served asset /application.css - 304 Not Modified (0ms)
2919
+
2920
+
2921
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:49 +0900
2922
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2923
+
2924
+
2925
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:49 +0900
2926
+ Served asset /jquery.js - 304 Not Modified (0ms)
2927
+
2928
+
2929
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:49 +0900
2930
+ Served asset /application.js - 304 Not Modified (0ms)
2931
+
2932
+
2933
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:50 +0900
2934
+ Served asset /images/overlay.png - 404 Not Found (3ms)
2935
+
2936
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2937
+
2938
+
2939
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2940
+
2941
+
2942
+ Started PUT "/classifications/2" for 127.0.0.1 at 2012-01-08 22:58:54 +0900
2943
+ Processing by ClassificationsController#update as HTML
2944
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"b7dFTJCt0YWVZjXQ+/M8TqAVkXg+/eJZn7siPOIwgGU=", "classification"=>{"category"=>"hogefuga", "note"=>"", "classification_type_id"=>"1"}, "commit"=>"Update Classification", "id"=>"2"}
2945
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "2"]]
2946
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2947
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2948
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2949
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2950
+  (0.1ms) SELECT 1 FROM "classification_types" WHERE (LOWER("classification_types"."name") = LOWER('test') AND "classification_types"."id" != 1) LIMIT 1
2951
+  (0.1ms) SELECT 1 FROM "classifications" WHERE ("classifications"."category" = 'hogefuga' AND "classifications"."id" != 2 AND "classifications"."classification_type_id" = 1) LIMIT 1
2952
+  (0.3ms) UPDATE "classifications" SET "category" = 'hogefuga', "updated_at" = '2012-01-08 13:58:55.164675' WHERE "classifications"."id" = 2
2953
+ Subject Load (0.1ms) SELECT "subjects".id FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 2
2954
+ Subject Load (0.1ms) SELECT "subjects".* FROM "subjects" INNER JOIN "subject_has_classifications" ON "subjects"."id" = "subject_has_classifications"."subject_id" WHERE "subject_has_classifications"."classification_id" = 2
2955
+ SOLR Request (13.1ms) [ path=#<RSolr::Client:0x007fe8b3abbaa0> parameters={data: <?xml version="1.0" encoding="UTF-8"?><add><doc><field name="id">Classification 2</field><field name="type">Classification</field><field name="type">ActiveRecord::Base</field><field name="class_name">Classification</field><field name="classification_type_id_i">1</field><field name="category_text">hogefuga</field><field name="note_text"></field></doc></add>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2956
+ Redirected to http://localhost:3000/classifications/2
2957
+ SOLR Request (48.0ms) [ path=#<RSolr::Client:0x007fe8b3abbaa0> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2958
+ Completed 302 Found in 435ms
2959
+
2960
+
2961
+ Started GET "/classifications/2" for 127.0.0.1 at 2012-01-08 22:58:55 +0900
2962
+ Processing by ClassificationsController#show as HTML
2963
+ Parameters: {"id"=>"2"}
2964
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1 [["id", "2"]]
2965
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2966
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
2967
+ CACHE (0.0ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" = ? LIMIT 1
2968
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
2969
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/show.html.erb within layouts/application (85.9ms)
2970
+ Completed 200 OK in 290ms (Views: 93.7ms | ActiveRecord: 4.8ms | Solr: 61.1ms)
2971
+
2972
+
2973
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:55 +0900
2974
+ Served asset /application.css - 304 Not Modified (0ms)
2975
+
2976
+
2977
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:56 +0900
2978
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2979
+
2980
+
2981
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:56 +0900
2982
+ Served asset /jquery.js - 304 Not Modified (0ms)
2983
+
2984
+
2985
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:56 +0900
2986
+ Served asset /application.js - 304 Not Modified (0ms)
2987
+
2988
+
2989
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:56 +0900
2990
+ Served asset /images/overlay.png - 404 Not Found (32ms)
2991
+
2992
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
2993
+
2994
+
2995
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2996
+
2997
+
2998
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 22:58:57 +0900
2999
+ Processing by ClassificationsController#index as HTML
3000
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3001
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3002
+ SOLR Request (4.6ms) [ path=#<RSolr::Client:0x007fe8b0839640> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3003
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3004
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3005
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3006
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (34.6ms)
3007
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (35.9ms)
3008
+ Completed 200 OK in 299ms (Views: 51.3ms | ActiveRecord: 3.9ms | Solr: 4.6ms)
3009
+
3010
+
3011
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 22:58:58 +0900
3012
+ Served asset /application.css - 304 Not Modified (0ms)
3013
+
3014
+
3015
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:58 +0900
3016
+ Served asset /jquery.js - 304 Not Modified (0ms)
3017
+
3018
+
3019
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:58 +0900
3020
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3021
+
3022
+
3023
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 22:58:58 +0900
3024
+ Served asset /application.js - 304 Not Modified (0ms)
3025
+
3026
+
3027
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 22:58:59 +0900
3028
+ Served asset /images/overlay.png - 404 Not Found (3ms)
3029
+
3030
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
3031
+
3032
+
3033
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
3034
+
3035
+
3036
+ Started GET "/classifications.xml" for 127.0.0.1 at 2012-01-08 22:59:05 +0900
3037
+ Processing by ClassificationsController#index as XML
3038
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3039
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3040
+ SOLR Request (3.8ms) [ path=#<RSolr::Client:0x007fe8b0b9da70> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3041
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3042
+ Completed 406 Not Acceptable in 276ms
3043
+
3044
+
3045
+ Started GET "/classifications.json" for 127.0.0.1 at 2012-01-08 22:59:13 +0900
3046
+ Processing by ClassificationsController#index as JSON
3047
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3048
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3049
+ SOLR Request (3.2ms) [ path=#<RSolr::Client:0x007fe8b0b9da70> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3050
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3051
+ Completed 200 OK in 291ms (Views: 3.4ms | ActiveRecord: 5.5ms | Solr: 7.0ms)
3052
+
3053
+
3054
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 23:15:53 +0900
3055
+ Processing by ClassificationsController#index as HTML
3056
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3057
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3058
+ SOLR Request (2.2ms) [ path=#<RSolr::Client:0x007fe8b3972c70> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3059
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3060
+ ClassificationType Load (0.1ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3061
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3062
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (16.6ms)
3063
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (17.2ms)
3064
+ Completed 200 OK in 304ms (Views: 51.1ms | ActiveRecord: 3.6ms | Solr: 2.2ms)
3065
+
3066
+
3067
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 23:15:54 +0900
3068
+ Served asset /application.css - 304 Not Modified (0ms)
3069
+
3070
+
3071
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 23:15:54 +0900
3072
+ Served asset /jquery.js - 304 Not Modified (0ms)
3073
+
3074
+
3075
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 23:15:54 +0900
3076
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3077
+
3078
+
3079
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 23:15:54 +0900
3080
+ Served asset /application.js - 304 Not Modified (0ms)
3081
+
3082
+
3083
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 23:15:54 +0900
3084
+ Served asset /images/overlay.png - 404 Not Found (1ms)
3085
+
3086
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
3087
+
3088
+
3089
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
3090
+
3091
+
3092
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-01-08 23:16:25 +0900
3093
+ Served asset /application.css - 200 OK (0ms)
3094
+
3095
+
3096
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 23:16:33 +0900
3097
+ Processing by ClassificationsController#index as HTML
3098
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3099
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3100
+ SOLR Request (3.4ms) [ path=#<RSolr::Client:0x007fe8b3f85d10> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3101
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3102
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3103
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3104
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (82.9ms)
3105
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (85.0ms)
3106
+ Completed 200 OK in 390ms (Views: 96.2ms | ActiveRecord: 4.3ms | Solr: 3.4ms)
3107
+
3108
+
3109
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 23:16:34 +0900
3110
+ Served asset /application.css - 304 Not Modified (0ms)
3111
+
3112
+
3113
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:34 +0900
3114
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3115
+
3116
+
3117
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:34 +0900
3118
+ Served asset /jquery.js - 304 Not Modified (0ms)
3119
+
3120
+
3121
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:34 +0900
3122
+ Served asset /application.js - 304 Not Modified (0ms)
3123
+
3124
+
3125
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 23:16:34 +0900
3126
+ Served asset /images/overlay.png - 404 Not Found (1ms)
3127
+
3128
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
3129
+
3130
+
3131
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
3132
+
3133
+
3134
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 23:16:51 +0900
3135
+ Processing by ClassificationsController#index as HTML
3136
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3137
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3138
+ SOLR Request (5.8ms) [ path=#<RSolr::Client:0x007fe8b3ec7400> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3139
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3140
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3141
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3142
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (83.3ms)
3143
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (84.6ms)
3144
+ Completed 200 OK in 309ms (Views: 93.9ms | ActiveRecord: 4.1ms | Solr: 5.8ms)
3145
+
3146
+
3147
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 23:16:51 +0900
3148
+ Served asset /application.css - 304 Not Modified (0ms)
3149
+
3150
+
3151
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:52 +0900
3152
+ Served asset /jquery.js - 304 Not Modified (0ms)
3153
+
3154
+
3155
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:52 +0900
3156
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3157
+
3158
+
3159
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 23:16:52 +0900
3160
+ Served asset /application.js - 304 Not Modified (1ms)
3161
+
3162
+
3163
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 23:16:52 +0900
3164
+ Served asset /images/overlay.png - 404 Not Found (3ms)
3165
+
3166
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
3167
+
3168
+
3169
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
3170
+
3171
+
3172
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 23:17:12 +0900
3173
+ Processing by ClassificationsController#index as HTML
3174
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3175
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3176
+ SOLR Request (5.0ms) [ path=#<RSolr::Client:0x007fe8b3fea3f0> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3177
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3178
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3179
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3180
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (29.9ms)
3181
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (30.8ms)
3182
+ Completed 200 OK in 318ms (Views: 39.4ms | ActiveRecord: 4.1ms | Solr: 5.0ms)
3183
+
3184
+
3185
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:12 +0900
3186
+ Served asset /application.js - 304 Not Modified (0ms)
3187
+
3188
+
3189
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:12 +0900
3190
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3191
+
3192
+
3193
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 23:17:12 +0900
3194
+ Served asset /application.css - 304 Not Modified (0ms)
3195
+
3196
+
3197
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:12 +0900
3198
+ Served asset /jquery.js - 304 Not Modified (0ms)
3199
+
3200
+
3201
+ Started GET "/assets/images/overlay.png" for 127.0.0.1 at 2012-01-08 23:17:13 +0900
3202
+ Served asset /images/overlay.png - 404 Not Found (3ms)
3203
+
3204
+ ActionController::RoutingError (No route matches [GET] "/assets/images/overlay.png"):
3205
+
3206
+
3207
+ Rendered /Users/kosuke/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
3208
+
3209
+
3210
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-08 23:17:26 +0900
3211
+ Processing by ClassificationsController#index as HTML
3212
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3213
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1
3214
+ SOLR Request (2.9ms) [ path=#<RSolr::Client:0x007fe8b0b55ce8> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3215
+ Classification Load (0.2ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3216
+ ClassificationType Load (0.2ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3217
+ CACHE (0.0ms) SELECT "classification_types".* FROM "classification_types" WHERE "classification_types"."id" = 1 ORDER BY position LIMIT 1
3218
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (31.7ms)
3219
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (33.3ms)
3220
+ Completed 200 OK in 297ms (Views: 40.1ms | ActiveRecord: 3.9ms | Solr: 2.9ms)
3221
+
3222
+
3223
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:26 +0900
3224
+ Served asset /jquery_ujs.js - 200 OK (0ms)
3225
+
3226
+
3227
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:26 +0900
3228
+ Served asset /application.js - 200 OK (0ms)
3229
+
3230
+
3231
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-08 23:17:27 +0900
3232
+ Served asset /application.css - 200 OK (0ms)
3233
+
3234
+
3235
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-08 23:17:27 +0900
3236
+ Served asset /jquery.js - 200 OK (1ms)
3237
+  (0.1ms) select sqlite_version(*)
3238
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3239
+  (0.0ms) PRAGMA index_list("schema_migrations")
3240
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3241
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3242
+ Migrating to CreateSubjects (29)
3243
+  (0.4ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
3244
+  (0.0ms) PRAGMA index_list("subjects")
3245
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
3246
+  (0.0ms) PRAGMA index_list("subjects")
3247
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3248
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
3249
+  (0.0ms) PRAGMA index_list("subjects")
3250
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3251
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3252
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
3253
+  (0.1ms) PRAGMA index_list("subjects")
3254
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3255
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3256
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3257
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
3258
+  (0.0ms) PRAGMA index_list("subjects")
3259
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3260
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3261
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3262
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3263
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
3264
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
3265
+ Migrating to CreateCarrierTypes (73)
3266
+  (0.2ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3267
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
3268
+ Migrating to CreateClassifications (142)
3269
+  (0.3ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
3270
+  (0.0ms) PRAGMA index_list("classifications")
3271
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
3272
+  (0.0ms) PRAGMA index_list("classifications")
3273
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3274
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
3275
+  (0.0ms) PRAGMA index_list("classifications")
3276
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3277
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3278
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
3279
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
3280
+ Migrating to CreateSubjectHasClassifications (143)
3281
+  (0.2ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3282
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3283
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
3284
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3285
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3286
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
3287
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
3288
+ Migrating to CreateClassificationTypes (144)
3289
+  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3290
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
3291
+ Migrating to CreateSubjectHeadingTypes (145)
3292
+  (0.2ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3293
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
3294
+ Migrating to CreateSubjectTypes (146)
3295
+  (0.2ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3296
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
3297
+ Migrating to CreateWorkHasSubjects (20080606052544)
3298
+  (0.2ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
3299
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3300
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
3301
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3302
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3303
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
3304
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
3305
+ Migrating to CreatePatronTypes (20080905191442)
3306
+  (0.3ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) 
3307
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
3308
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
3309
+  (0.3ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3310
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3311
+  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
3312
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
3313
+ Migrating to AddLftAndRgtToClassification (20110913120629)
3314
+  (0.3ms) ALTER TABLE "classifications" ADD "lft" integer
3315
+  (0.1ms) ALTER TABLE "classifications" ADD "rgt" integer
3316
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
3317
+ Migrating to CreateManifestations (20111201115353)
3318
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "title_transcription" text, "title_alternative" text, "pub_date" varchar(255), "isbn" varchar(255), "nbn" varchar(255), "ndc" varchar(255), "carrier_type_id" integer, "language_id" integer, "created_at" datetime, "updated_at" datetime)
3319
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115353')
3320
+ Migrating to CreatePatrons (20111201115421)
3321
+  (0.3ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" text, "full_name_transcription" text, "language_id" integer, "required_role_id" integer, "patron_type_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
3322
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115421')
3323
+ Migrating to CreateLanguages (20111201121636)
3324
+  (0.3ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3325
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
3326
+ Migrating to CreateRoles (20111201121844)
3327
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3328
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
3329
+ Migrating to CreateUsers (20111201155456)
3330
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime)
3331
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
3332
+ Migrating to AddDeviseToUsers (20111201155513)
3333
+  (0.3ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
3334
+  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
3335
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
3336
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
3337
+  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime
3338
+  (0.1ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
3339
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
3340
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
3341
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
3342
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
3343
+  (0.0ms) PRAGMA index_list("users")
3344
+  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
3345
+  (0.0ms) PRAGMA index_list("users")
3346
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3347
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
3348
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
3349
+ Migrating to CreateUserGroups (20111201163342)
3350
+  (0.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3351
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
3352
+ Migrating to CreateUserHasRoles (20111201163718)
3353
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
3354
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
3355
+  (0.4ms) select sqlite_version(*)
3356
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3357
+  (0.0ms) PRAGMA index_list("carrier_types")
3358
+  (0.0ms) PRAGMA index_list("classification_types")
3359
+  (0.0ms) PRAGMA index_list("classifications")
3360
+  (0.0ms) PRAGMA index_info('index_classifications_on_classification_type_id')
3361
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3362
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3363
+  (0.0ms) PRAGMA index_list("languages")
3364
+  (0.0ms) PRAGMA index_list("manifestations")
3365
+  (0.0ms) PRAGMA index_list("patron_types")
3366
+  (0.0ms) PRAGMA index_list("patrons")
3367
+  (0.0ms) PRAGMA index_list("roles")
3368
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3369
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_classification_id')
3370
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3371
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3372
+  (0.0ms) PRAGMA index_info('index_subject_heading_type_has_subjects_on_subject_id')
3373
+  (0.0ms) PRAGMA index_list("subject_heading_types")
3374
+  (0.0ms) PRAGMA index_list("subject_types")
3375
+  (0.0ms) PRAGMA index_list("subjects")
3376
+  (0.0ms) PRAGMA index_info('index_subjects_on_required_role_id')
3377
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3378
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3379
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3380
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3381
+  (0.0ms) PRAGMA index_list("user_groups")
3382
+  (0.0ms) PRAGMA index_list("user_has_roles")
3383
+  (0.0ms) PRAGMA index_list("users")
3384
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
3385
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3386
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3387
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
3388
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3389
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3390
+ SOLR Request (6.0ms) [ path=#<RSolr::Client:0x007fa65f964490> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3391
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3392
+ SOLR Request (8.4ms) [ path=#<RSolr::Client:0x007fb9a271d550> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3393
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3394
+ SOLR Request (5.7ms) [ path=#<RSolr::Client:0x007fd0cfe34598> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3395
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3396
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3397
+ SOLR Request (8.1ms) [ path=#<RSolr::Client:0x007fb50f87c1e0> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3398
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3399
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3400
+ SOLR Request (7.5ms) [ path=#<RSolr::Client:0x007ff7e6f15ca8> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3401
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3402
+  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@example.jp' LIMIT 1
3403
+ Binary data inserted for `string` type on column `encrypted_password`
3404
+ SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 14:33:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.jp"], ["encrypted_password", "$2a$10$4TeCUDeHCVq3.b37Z6APaeTR12W5/95rfmfe488OFcKoRY/Ttu2Py"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 14:33:59 UTC +00:00], ["user_group_id", nil], ["username", "admin"]]
3405
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3406
+ SOLR Request (15.2ms) [ path=#<RSolr::Client:0x007fa1a6d25d08> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3407
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3408
+  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@example.jp' LIMIT 1
3409
+  (0.1ms) select sqlite_version(*)
3410
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3411
+  (0.0ms) PRAGMA index_list("schema_migrations")
3412
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3413
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3414
+ Migrating to CreateSubjects (29)
3415
+  (0.3ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
3416
+  (0.0ms) PRAGMA index_list("subjects")
3417
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
3418
+  (0.0ms) PRAGMA index_list("subjects")
3419
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3420
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
3421
+  (0.0ms) PRAGMA index_list("subjects")
3422
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3423
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3424
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
3425
+  (0.1ms) PRAGMA index_list("subjects")
3426
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3427
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3428
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3429
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
3430
+  (0.0ms) PRAGMA index_list("subjects")
3431
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3432
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3433
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3434
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3435
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
3436
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
3437
+ Migrating to CreateCarrierTypes (73)
3438
+  (0.2ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3439
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
3440
+ Migrating to CreateClassifications (142)
3441
+  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
3442
+  (0.0ms) PRAGMA index_list("classifications")
3443
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
3444
+  (0.0ms) PRAGMA index_list("classifications")
3445
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3446
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
3447
+  (0.0ms) PRAGMA index_list("classifications")
3448
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3449
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3450
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
3451
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
3452
+ Migrating to CreateSubjectHasClassifications (143)
3453
+  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3454
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3455
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
3456
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3457
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3458
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
3459
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
3460
+ Migrating to CreateClassificationTypes (144)
3461
+  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3462
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
3463
+ Migrating to CreateSubjectHeadingTypes (145)
3464
+  (0.2ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3465
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
3466
+ Migrating to CreateSubjectTypes (146)
3467
+  (0.2ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3468
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
3469
+ Migrating to CreateWorkHasSubjects (20080606052544)
3470
+  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
3471
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3472
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
3473
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3474
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3475
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
3476
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
3477
+ Migrating to CreatePatronTypes (20080905191442)
3478
+  (0.2ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) 
3479
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
3480
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
3481
+  (0.3ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3482
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3483
+  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
3484
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
3485
+ Migrating to AddLftAndRgtToClassification (20110913120629)
3486
+  (0.3ms) ALTER TABLE "classifications" ADD "lft" integer
3487
+  (0.1ms) ALTER TABLE "classifications" ADD "rgt" integer
3488
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
3489
+ Migrating to CreateManifestations (20111201115353)
3490
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "title_transcription" text, "title_alternative" text, "pub_date" varchar(255), "isbn" varchar(255), "nbn" varchar(255), "ndc" varchar(255), "carrier_type_id" integer, "language_id" integer, "created_at" datetime, "updated_at" datetime)
3491
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115353')
3492
+ Migrating to CreatePatrons (20111201115421)
3493
+  (0.3ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" text, "full_name_transcription" text, "language_id" integer, "required_role_id" integer, "patron_type_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
3494
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115421')
3495
+ Migrating to CreateLanguages (20111201121636)
3496
+  (0.3ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3497
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
3498
+ Migrating to CreateRoles (20111201121844)
3499
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3500
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
3501
+ Migrating to CreateUsers (20111201155456)
3502
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime)
3503
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
3504
+ Migrating to AddDeviseToUsers (20111201155513)
3505
+  (0.3ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
3506
+  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
3507
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
3508
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
3509
+  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime
3510
+  (0.1ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
3511
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
3512
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
3513
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
3514
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
3515
+  (0.0ms) PRAGMA index_list("users")
3516
+  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
3517
+  (0.0ms) PRAGMA index_list("users")
3518
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3519
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
3520
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
3521
+ Migrating to CreateUserGroups (20111201163342)
3522
+  (0.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3523
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
3524
+ Migrating to CreateUserHasRoles (20111201163718)
3525
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
3526
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
3527
+  (0.5ms) select sqlite_version(*)
3528
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3529
+  (0.0ms) PRAGMA index_list("carrier_types")
3530
+  (0.0ms) PRAGMA index_list("classification_types")
3531
+  (0.0ms) PRAGMA index_list("classifications")
3532
+  (0.0ms) PRAGMA index_info('index_classifications_on_classification_type_id')
3533
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3534
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3535
+  (0.0ms) PRAGMA index_list("languages")
3536
+  (0.0ms) PRAGMA index_list("manifestations")
3537
+  (0.0ms) PRAGMA index_list("patron_types")
3538
+  (0.0ms) PRAGMA index_list("patrons")
3539
+  (0.0ms) PRAGMA index_list("roles")
3540
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3541
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_classification_id')
3542
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3543
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3544
+  (0.0ms) PRAGMA index_info('index_subject_heading_type_has_subjects_on_subject_id')
3545
+  (0.0ms) PRAGMA index_list("subject_heading_types")
3546
+  (0.0ms) PRAGMA index_list("subject_types")
3547
+  (0.0ms) PRAGMA index_list("subjects")
3548
+  (0.0ms) PRAGMA index_info('index_subjects_on_required_role_id')
3549
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3550
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3551
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3552
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3553
+  (0.0ms) PRAGMA index_list("user_groups")
3554
+  (0.0ms) PRAGMA index_list("user_has_roles")
3555
+  (0.0ms) PRAGMA index_list("users")
3556
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
3557
+  (0.1ms) PRAGMA index_info('index_users_on_email')
3558
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3559
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
3560
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3561
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3562
+ SOLR Request (12.8ms) [ path=#<RSolr::Client:0x007fdc08556e28> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3563
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3564
+  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@example.jp' LIMIT 1
3565
+ Binary data inserted for `string` type on column `encrypted_password`
3566
+ SQL (5.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 14:35:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.jp"], ["encrypted_password", "$2a$10$s28Qig4YzT88rqrHgb4kD.bxzc5jiw0M6gY5lofl/6ThTxg5f/Qlu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 14:35:00 UTC +00:00], ["user_group_id", nil], ["username", "admin"]]
3567
+  (0.1ms) select sqlite_version(*)
3568
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3569
+  (0.0ms) PRAGMA index_list("schema_migrations")
3570
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3571
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3572
+ Migrating to CreateSubjects (29)
3573
+  (0.6ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
3574
+  (0.0ms) PRAGMA index_list("subjects")
3575
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
3576
+  (0.0ms) PRAGMA index_list("subjects")
3577
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3578
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
3579
+  (0.0ms) PRAGMA index_list("subjects")
3580
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3581
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3582
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
3583
+  (0.1ms) PRAGMA index_list("subjects")
3584
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3585
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3586
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3587
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
3588
+  (0.6ms) PRAGMA index_list("subjects")
3589
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3590
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3591
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3592
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3593
+  (0.2ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
3594
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
3595
+ Migrating to CreateCarrierTypes (73)
3596
+  (0.5ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3597
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
3598
+ Migrating to CreateClassifications (142)
3599
+  (0.5ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
3600
+  (0.0ms) PRAGMA index_list("classifications")
3601
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
3602
+  (0.0ms) PRAGMA index_list("classifications")
3603
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3604
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
3605
+  (0.0ms) PRAGMA index_list("classifications")
3606
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3607
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3608
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
3609
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
3610
+ Migrating to CreateSubjectHasClassifications (143)
3611
+  (0.5ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3612
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3613
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
3614
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3615
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3616
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
3617
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
3618
+ Migrating to CreateClassificationTypes (144)
3619
+  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3620
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
3621
+ Migrating to CreateSubjectHeadingTypes (145)
3622
+  (0.5ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3623
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
3624
+ Migrating to CreateSubjectTypes (146)
3625
+  (0.5ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3626
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
3627
+ Migrating to CreateWorkHasSubjects (20080606052544)
3628
+  (0.6ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
3629
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3630
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
3631
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3632
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3633
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
3634
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
3635
+ Migrating to CreatePatronTypes (20080905191442)
3636
+  (0.5ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) 
3637
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
3638
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
3639
+  (0.5ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3640
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3641
+  (0.2ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
3642
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
3643
+ Migrating to AddLftAndRgtToClassification (20110913120629)
3644
+  (0.6ms) ALTER TABLE "classifications" ADD "lft" integer
3645
+  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
3646
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
3647
+ Migrating to CreateManifestations (20111201115353)
3648
+  (0.5ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "title_transcription" text, "title_alternative" text, "pub_date" varchar(255), "isbn" varchar(255), "nbn" varchar(255), "ndc" varchar(255), "carrier_type_id" integer, "language_id" integer, "created_at" datetime, "updated_at" datetime)
3649
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115353')
3650
+ Migrating to CreatePatrons (20111201115421)
3651
+  (0.5ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" text, "full_name_transcription" text, "language_id" integer, "required_role_id" integer, "patron_type_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
3652
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115421')
3653
+ Migrating to CreateLanguages (20111201121636)
3654
+  (0.6ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3655
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
3656
+ Migrating to CreateRoles (20111201121844)
3657
+  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3658
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
3659
+ Migrating to CreateUsers (20111201155456)
3660
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime)
3661
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
3662
+ Migrating to AddDeviseToUsers (20111201155513)
3663
+  (0.6ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
3664
+  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
3665
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
3666
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
3667
+  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
3668
+  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
3669
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
3670
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
3671
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
3672
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
3673
+  (0.1ms) PRAGMA index_list("users")
3674
+  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
3675
+  (0.0ms) PRAGMA index_list("users")
3676
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3677
+  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
3678
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
3679
+ Migrating to CreateUserGroups (20111201163342)
3680
+  (0.6ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3681
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
3682
+ Migrating to CreateUserHasRoles (20111201163718)
3683
+  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
3684
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
3685
+  (0.7ms) select sqlite_version(*)
3686
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3687
+  (0.0ms) PRAGMA index_list("carrier_types")
3688
+  (0.0ms) PRAGMA index_list("classification_types")
3689
+  (0.0ms) PRAGMA index_list("classifications")
3690
+  (0.0ms) PRAGMA index_info('index_classifications_on_classification_type_id')
3691
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3692
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3693
+  (0.0ms) PRAGMA index_list("languages")
3694
+  (0.0ms) PRAGMA index_list("manifestations")
3695
+  (0.0ms) PRAGMA index_list("patron_types")
3696
+  (0.0ms) PRAGMA index_list("patrons")
3697
+  (0.0ms) PRAGMA index_list("roles")
3698
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3699
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_classification_id')
3700
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3701
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3702
+  (0.0ms) PRAGMA index_info('index_subject_heading_type_has_subjects_on_subject_id')
3703
+  (0.0ms) PRAGMA index_list("subject_heading_types")
3704
+  (0.0ms) PRAGMA index_list("subject_types")
3705
+  (0.1ms) PRAGMA index_list("subjects")
3706
+  (0.0ms) PRAGMA index_info('index_subjects_on_required_role_id')
3707
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3708
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3709
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3710
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3711
+  (0.0ms) PRAGMA index_list("user_groups")
3712
+  (0.0ms) PRAGMA index_list("user_has_roles")
3713
+  (0.0ms) PRAGMA index_list("users")
3714
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
3715
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3716
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3717
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
3718
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3719
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3720
+ SOLR Request (5.4ms) [ path=#<RSolr::Client:0x007fcfaca966f8> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3721
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3722
+ SOLR Request (5.5ms) [ path=#<RSolr::Client:0x007fb4ee825960> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3723
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3724
+ SOLR Request (5.9ms) [ path=#<RSolr::Client:0x007ff6f4f64918> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3725
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3726
+ SOLR Request (7.4ms) [ path=#<RSolr::Client:0x007f8c5e901978> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3727
+ Fixture Delete (0.3ms) DELETE FROM "roles"
3728
+ Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "score", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, 1, 1, NULL, '2012-01-08 14:39:59', '2012-01-08 14:39:59')
3729
+ SQLite3::SQLException: table roles has no column named score: INSERT INTO "roles" ("name", "display_name", "id", "position", "score", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, 1, 1, NULL, '2012-01-08 14:39:59', '2012-01-08 14:39:59')
3730
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3731
+ SOLR Request (13.8ms) [ path=#<RSolr::Client:0x007fae1657ab18> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3732
+ Fixture Delete (0.3ms) DELETE FROM "roles"
3733
+ Fixture Insert (0.2ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, 1, NULL, '2012-01-08 14:40:33', '2012-01-08 14:40:33')
3734
+ Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, 2, NULL, '2012-01-08 14:40:33', '2012-01-08 14:40:33')
3735
+ Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, 3, NULL, '2012-01-08 14:40:33', '2012-01-08 14:40:33')
3736
+ Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, 4, NULL, '2012-01-08 14:40:33', '2012-01-08 14:40:33')
3737
+  (0.1ms) select sqlite_version(*)
3738
+  (5.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3739
+  (0.0ms) PRAGMA index_list("schema_migrations")
3740
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3741
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3742
+ Migrating to CreateSubjects (29)
3743
+  (0.6ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
3744
+  (0.0ms) PRAGMA index_list("subjects")
3745
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
3746
+  (0.0ms) PRAGMA index_list("subjects")
3747
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3748
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
3749
+  (0.0ms) PRAGMA index_list("subjects")
3750
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3751
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3752
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
3753
+  (0.1ms) PRAGMA index_list("subjects")
3754
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3755
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3756
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3757
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
3758
+  (0.1ms) PRAGMA index_list("subjects")
3759
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3760
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3761
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3762
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3763
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
3764
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
3765
+ Migrating to CreateCarrierTypes (73)
3766
+  (0.5ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3767
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
3768
+ Migrating to CreateClassifications (142)
3769
+  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
3770
+  (0.0ms) PRAGMA index_list("classifications")
3771
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
3772
+  (0.0ms) PRAGMA index_list("classifications")
3773
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3774
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
3775
+  (0.0ms) PRAGMA index_list("classifications")
3776
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3777
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3778
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
3779
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
3780
+ Migrating to CreateSubjectHasClassifications (143)
3781
+  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3782
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3783
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
3784
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3785
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3786
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
3787
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
3788
+ Migrating to CreateClassificationTypes (144)
3789
+  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3790
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
3791
+ Migrating to CreateSubjectHeadingTypes (145)
3792
+  (0.3ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3793
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
3794
+ Migrating to CreateSubjectTypes (146)
3795
+  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3796
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
3797
+ Migrating to CreateWorkHasSubjects (20080606052544)
3798
+  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
3799
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3800
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
3801
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3802
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3803
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
3804
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
3805
+ Migrating to CreatePatronTypes (20080905191442)
3806
+  (0.3ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime) 
3807
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
3808
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
3809
+  (0.3ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) 
3810
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3811
+  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
3812
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
3813
+ Migrating to AddLftAndRgtToClassification (20110913120629)
3814
+  (0.3ms) ALTER TABLE "classifications" ADD "lft" integer
3815
+  (0.1ms) ALTER TABLE "classifications" ADD "rgt" integer
3816
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
3817
+ Migrating to CreateManifestations (20111201115353)
3818
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "title_transcription" text, "title_alternative" text, "pub_date" varchar(255), "isbn" varchar(255), "nbn" varchar(255), "ndc" varchar(255), "carrier_type_id" integer, "language_id" integer, "created_at" datetime, "updated_at" datetime)
3819
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115353')
3820
+ Migrating to CreatePatrons (20111201115421)
3821
+  (0.3ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" text, "full_name_transcription" text, "language_id" integer, "required_role_id" integer, "patron_type_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
3822
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201115421')
3823
+ Migrating to CreateLanguages (20111201121636)
3824
+  (0.3ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3825
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
3826
+ Migrating to CreateRoles (20111201121844)
3827
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3828
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
3829
+ Migrating to CreateUsers (20111201155456)
3830
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime)
3831
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
3832
+ Migrating to AddDeviseToUsers (20111201155513)
3833
+  (0.3ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
3834
+  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
3835
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
3836
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
3837
+  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime
3838
+  (0.1ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
3839
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
3840
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
3841
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
3842
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
3843
+  (0.0ms) PRAGMA index_list("users")
3844
+  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
3845
+  (0.0ms) PRAGMA index_list("users")
3846
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3847
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
3848
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
3849
+ Migrating to CreateUserGroups (20111201163342)
3850
+  (0.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)
3851
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
3852
+ Migrating to CreateUserHasRoles (20111201163718)
3853
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
3854
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
3855
+  (0.4ms) select sqlite_version(*)
3856
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3857
+  (0.0ms) PRAGMA index_list("carrier_types")
3858
+  (0.0ms) PRAGMA index_list("classification_types")
3859
+  (0.0ms) PRAGMA index_list("classifications")
3860
+  (0.0ms) PRAGMA index_info('index_classifications_on_classification_type_id')
3861
+  (0.0ms) PRAGMA index_info('index_classifications_on_category')
3862
+  (0.0ms) PRAGMA index_info('index_classifications_on_parent_id')
3863
+  (0.0ms) PRAGMA index_list("languages")
3864
+  (0.0ms) PRAGMA index_list("manifestations")
3865
+  (0.0ms) PRAGMA index_list("patron_types")
3866
+  (0.0ms) PRAGMA index_list("patrons")
3867
+  (0.0ms) PRAGMA index_list("roles")
3868
+  (0.0ms) PRAGMA index_list("subject_has_classifications")
3869
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_classification_id')
3870
+  (0.0ms) PRAGMA index_info('index_subject_has_classifications_on_subject_id')
3871
+  (0.0ms) PRAGMA index_list("subject_heading_type_has_subjects")
3872
+  (0.0ms) PRAGMA index_info('index_subject_heading_type_has_subjects_on_subject_id')
3873
+  (0.0ms) PRAGMA index_list("subject_heading_types")
3874
+  (0.0ms) PRAGMA index_list("subject_types")
3875
+  (0.0ms) PRAGMA index_list("subjects")
3876
+  (0.0ms) PRAGMA index_info('index_subjects_on_required_role_id')
3877
+  (0.0ms) PRAGMA index_info('index_subjects_on_subject_type_id')
3878
+  (0.0ms) PRAGMA index_info('index_subjects_on_use_term_id')
3879
+  (0.0ms) PRAGMA index_info('index_subjects_on_parent_id')
3880
+  (0.0ms) PRAGMA index_info('index_subjects_on_term')
3881
+  (0.0ms) PRAGMA index_list("user_groups")
3882
+  (0.0ms) PRAGMA index_list("user_has_roles")
3883
+  (0.0ms) PRAGMA index_list("users")
3884
+  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
3885
+  (0.0ms) PRAGMA index_info('index_users_on_email')
3886
+  (0.0ms) PRAGMA index_list("work_has_subjects")
3887
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_work_id')
3888
+  (0.0ms) PRAGMA index_info('index_work_has_subjects_on_subject_id')
3889
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3890
+ SOLR Request (6.3ms) [ path=#<RSolr::Client:0x007ffe798adbd8> parameters={data: <?xml version="1.0" encoding="UTF-8"?><commit/>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
3891
+ Fixture Delete (0.2ms) DELETE FROM "roles"
3892
+ Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, 1, NULL, '2012-01-08 14:41:25', '2012-01-08 14:41:25')
3893
+ Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, 2, NULL, '2012-01-08 14:41:25', '2012-01-08 14:41:25')
3894
+ Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, 3, NULL, '2012-01-08 14:41:25', '2012-01-08 14:41:25')
3895
+ Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "position", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, 4, NULL, '2012-01-08 14:41:25', '2012-01-08 14:41:25')
3896
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1
3897
+  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@example.jp' LIMIT 1
3898
+ Binary data inserted for `string` type on column `encrypted_password`
3899
+ SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 14:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.jp"], ["encrypted_password", "$2a$10$GBuslE5STSqYjkjzt7x38etVuJnHdXn5ooeaX13w1RpjG7J/d76d2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 14:41:25 UTC +00:00], ["user_group_id", nil], ["username", "admin"]]
3900
+ SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 14:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 14:41:25 UTC +00:00], ["user_id", 1]]
3901
+  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 14:41:25.890298' WHERE "roles"."id" = 4
3902
+
3903
+
3904
+ Started GET "/classifications" for 127.0.0.1 at 2012-01-09 01:01:11 +0900
3905
+ Processing by ClassificationsController#index as HTML
3906
+ SOLR Request (4.5ms) [ path=#<RSolr::Client:0x007fe8b3e00210> parameters={data: fq=type%3AClassification&start=0&rows=10&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby} ]
3907
+ Classification Load (15.9ms) SELECT "classifications".* FROM "classifications" WHERE "classifications"."id" IN (1, 2)
3908
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/_index.html.erb (178.3ms)
3909
+ Rendered /Users/kosuke/enju_subject/app/views/classifications/index.html.erb within layouts/application (179.3ms)
3910
+ Completed 200 OK in 399ms (Views: 257.3ms | ActiveRecord: 17.5ms | Solr: 4.5ms)
3911
+
3912
+
3913
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-09 01:01:13 +0900
3914
+ Served asset /application.css - 200 OK (0ms)
3915
+
3916
+
3917
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-09 01:01:13 +0900
3918
+ Served asset /jquery_ujs.js - 200 OK (0ms)
3919
+
3920
+
3921
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-09 01:01:13 +0900
3922
+ Served asset /jquery.js - 200 OK (0ms)
3923
+
3924
+
3925
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-09 01:01:13 +0900
3926
+ Served asset /application.js - 200 OK (0ms)