sql_search_n_sort 1.16 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sql_search_n_sort.rb +1 -0
  3. data/lib/sql_search_n_sort/exceptions.rb +8 -0
  4. data/lib/sql_search_n_sort/sql_searchable_sortable.rb +2 -0
  5. data/lib/sql_search_n_sort/version.rb +1 -1
  6. data/test/dummy/app/controllers/unsearchables_controller.rb +5 -0
  7. data/test/dummy/app/models/person.rb +3 -2
  8. data/test/dummy/app/models/unsearchable.rb +5 -0
  9. data/test/dummy/app/models/vehicle.rb +1 -1
  10. data/test/dummy/app/views/unsearchables/index.html.haml +1 -0
  11. data/test/dummy/config/routes.rb +1 -0
  12. data/test/dummy/db/development.sqlite3 +0 -0
  13. data/test/dummy/db/migrate/20141003015903_create_unsearchables.rb +17 -0
  14. data/test/dummy/db/schema.rb +15 -1
  15. data/test/dummy/db/test.sqlite3 +0 -0
  16. data/test/dummy/log/development.log +582 -0
  17. data/test/dummy/log/test.log +138826 -0
  18. data/test/dummy/spec/models/person_spec.rb +18 -16
  19. data/test/dummy/spec/models/unsearchable_spec.rb +37 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/1a3c6a30280d9edd208e090bd63e93f3 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/1dc2824e4f69b5f787cc0b33a280e1f7 +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/648c2e4578a1b3733059887e5541a92a +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/991d9baf4c0665d4114d00882965f72c +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  33. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd1fb36e450bb39d147d36f7fb292259aebd5907
4
- data.tar.gz: a5fda1d6ac5ae5898eba7b280ae8877f7461afff
3
+ metadata.gz: 0087965c1305ba9b7eb8ae1274af478f7e5e4b16
4
+ data.tar.gz: ee912657be177194c35d7d320ede6a311586026a
5
5
  SHA512:
6
- metadata.gz: 8074e93343acaf4639da7526f17593c109e752ce3b0dec0aad1072cee7c01505ce0dafb880b31331d48b86ef70321e32640aa43094c3c122deb6439349ed895e
7
- data.tar.gz: 605b061a3cf808f8961c8d4f69ead286250790ca18f8e939f5330995764d8cd6f773c6e8df3e033dd94cde8b67f813c25a207e3190730254b72b571a74291b31
6
+ metadata.gz: c7dd6ec59fd5b45ad8e5a0904b72090209809c3cc525658a95d297907752eeed5e4e1868470ddbe79a23cc0228cda9882afe9803f6b5d1460d110349607ce737
7
+ data.tar.gz: 500bb4a398decec33742d3172cb62a50873446aa15225bd282658644d36144968af6477cad7fe52ad15b7add761ac2b0a1118dc5b1d2836675f0bc2cdbb8021c
@@ -2,6 +2,7 @@ module SqlSearchNSort
2
2
  require 'sql_search_n_sort/sql_searchable_sortable'
3
3
  require "sql_search_n_sort/sql_sort_setup"
4
4
  require 'sql_search_n_sort/railtie' if defined?(Rails)
5
+ require 'sql_search_n_sort/exceptions'
5
6
  require "factory_girl_rails" if Rails.env == 'test'
6
7
  require "haml-rails"
7
8
  require "jquery-rails"
@@ -0,0 +1,8 @@
1
+ module Exceptions
2
+ class UnsearchableType < StandardError
3
+ def initialize(object, col_name)
4
+ super "Column '#{col_name}' of model #{object.model_name.human} is not searchable because
5
+ it is not of type string or text."
6
+ end
7
+ end
8
+ end
@@ -35,6 +35,8 @@ module SqlSearchableSortable
35
35
  self.sql_search_cols = (cols ||= [])
36
36
  .select do |c|
37
37
  col_name = c.is_a?(Hash) ? col.keys.first.to_s : c.to_s
38
+ raise(Exceptions::UnsearchableType.new(self, col_name)) \
39
+ if ![:string, :text].include?(self.columns_hash[col_name].type)
38
40
  model_name.name.constantize.column_names.include?(col_name)
39
41
  end
40
42
  end
@@ -1,3 +1,3 @@
1
1
  module SqlSearchNSort
2
- VERSION = "1.16"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -0,0 +1,5 @@
1
+ class UnsearchablesController < ApplicationController
2
+ def index
3
+ @unsearchables = Unsearchable.all
4
+ end
5
+ end
@@ -7,8 +7,9 @@ class Person < ActiveRecord::Base
7
7
  # @ssns_sortable = ssns_sortable
8
8
  # end
9
9
 
10
- sql_searchable :first_name, :last_name, :bio, :updated_at, :dob, :grade
11
- sql_sortable :first_name, :last_name, :email, :updated_at => {:show_asc => false, :display => "Date last changed"} #, :age
10
+ sql_searchable :first_name, :last_name, :bio
11
+ sql_sortable :first_name, :last_name, :email,
12
+ :updated_at => {:show_asc => false, :display => "Date last changed"}
12
13
 
13
14
  default_sql_sort :last_name
14
15
  end
@@ -0,0 +1,5 @@
1
+ class Unsearchable < ActiveRecord::Base
2
+ extend SqlSearchableSortable
3
+
4
+ #sql_searchable :dt
5
+ end
@@ -1,7 +1,7 @@
1
1
  class Vehicle < ActiveRecord::Base
2
2
  extend SqlSearchableSortable
3
3
 
4
- sql_searchable :year, :manufacturer, :model, :engine
4
+ sql_searchable :manufacturer, :model, :engine
5
5
  sql_sortable :year, :model, :color, :manufacturer => { :display => "Make" }
6
6
 
7
7
  #No default sort column specified
@@ -0,0 +1 @@
1
+ %h4 Unsearchables
@@ -14,6 +14,7 @@ Rails.application.routes.draw do
14
14
  get "/vehicles" => 'vehicles#index'
15
15
  get "/search_vehicles" => 'vehicles#search_only_index'
16
16
  get "/sort_vehicles" => 'vehicles#sort_only_index'
17
+ get "/unsearchables" => 'unsearchables#index'
17
18
 
18
19
  # get "/people" => "people#index"
19
20
  # get "/person/:id" => ""
Binary file
@@ -0,0 +1,17 @@
1
+ class CreateUnsearchables < ActiveRecord::Migration
2
+ def change
3
+ create_table :unsearchables do |t|
4
+ t.integer :int
5
+ t.date :dt
6
+ t.time :tm
7
+ t.datetime :dtm
8
+ t.boolean :bool
9
+ t.float :flt
10
+ t.decimal :dec
11
+ t.binary :bn
12
+ t.timestamp :ts
13
+
14
+ t.timestamps
15
+ end
16
+ end
17
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140725161555) do
14
+ ActiveRecord::Schema.define(version: 20141003015903) do
15
15
 
16
16
  create_table "articles", force: true do |t|
17
17
  t.string "headline"
@@ -45,6 +45,20 @@ ActiveRecord::Schema.define(version: 20140725161555) do
45
45
  t.datetime "updated_at"
46
46
  end
47
47
 
48
+ create_table "unsearchables", force: true do |t|
49
+ t.integer "int"
50
+ t.date "dt"
51
+ t.time "tm"
52
+ t.datetime "dtm"
53
+ t.boolean "bool"
54
+ t.float "flt"
55
+ t.decimal "dec"
56
+ t.binary "bn"
57
+ t.datetime "ts"
58
+ t.datetime "created_at"
59
+ t.datetime "updated_at"
60
+ end
61
+
48
62
  create_table "vehicles", force: true do |t|
49
63
  t.integer "year"
50
64
  t.string "manufacturer"
Binary file
@@ -7904,3 +7904,585 @@ Migrating to CreateCreditApplications (20140730200419)
7904
7904
  SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140730200419'
7905
7905
   (1.1ms) commit transaction
7906
7906
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7907
+
7908
+
7909
+ Started GET "/people" for 127.0.0.1 at 2014-10-01 22:04:54 -0400
7910
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7911
+ Processing by PeopleController#index as HTML
7912
+ Rendered people/index.html.haml within layouts/application (51.5ms)
7913
+ Completed 500 Internal Server Error in 1059772ms
7914
+
7915
+ ActionView::Template::Error (Missing partial people/_sort_form, application/_sort_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
7916
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/sql_search_n_sort/test/dummy/app/views"
7917
+ ):
7918
+ 3: %thead
7919
+ 4: %tr
7920
+ 5: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7921
+ 6: =render "sort_form" #, :opts => @sort_dropdown_opts
7922
+ 7: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7923
+ 8: =render "search_form"
7924
+ 9: %tr
7925
+ app/views/people/index.html.haml:6:in `_app_views_people_index_html_haml__1808015714022331107_2182486100'
7926
+
7927
+
7928
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
7929
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (23.1ms)
7930
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (39.1ms)
7931
+
7932
+
7933
+ Started GET "/people" for 127.0.0.1 at 2014-10-01 22:22:46 -0400
7934
+ Processing by PeopleController#index as HTML
7935
+ Rendered people/index.html.haml within layouts/application (2.2ms)
7936
+ Completed 500 Internal Server Error in 13566ms
7937
+
7938
+ ActionView::Template::Error (Missing partial people/_sort_form, application/_sort_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
7939
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/sql_search_n_sort/test/dummy/app/views"
7940
+ ):
7941
+ 3: %thead
7942
+ 4: %tr
7943
+ 5: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7944
+ 6: =render "sort_form" #, :opts => @sort_dropdown_opts
7945
+ 7: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7946
+ 8: =render "search_form"
7947
+ 9: %tr
7948
+ app/views/people/index.html.haml:6:in `_app_views_people_index_html_haml__1808015714022331107_2182486100'
7949
+
7950
+
7951
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
7952
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
7953
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.2ms)
7954
+
7955
+
7956
+ Started GET "/people" for 127.0.0.1 at 2014-10-01 22:23:22 -0400
7957
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7958
+ Processing by PeopleController#index as HTML
7959
+ Rendered people/index.html.haml within layouts/application (8.5ms)
7960
+ Completed 500 Internal Server Error in 17ms
7961
+
7962
+ ActionView::Template::Error (Missing partial people/_sort_form, application/_sort_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
7963
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/sql_search_n_sort/test/dummy/app/views"
7964
+ ):
7965
+ 3: %thead
7966
+ 4: %tr
7967
+ 5: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7968
+ 6: =render "sort_form" #, :opts => @sort_dropdown_opts
7969
+ 7: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
7970
+ 8: =render "search_form"
7971
+ 9: %tr
7972
+ app/views/people/index.html.haml:6:in `_app_views_people_index_html_haml__3505030605571195658_2175142980'
7973
+
7974
+
7975
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
7976
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.1ms)
7977
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.0ms)
7978
+
7979
+
7980
+ Started GET "/people" for 127.0.0.1 at 2014-10-01 22:24:23 -0400
7981
+ Processing by PeopleController#index as HTML
7982
+ Rendered application/_sort_form.html.haml (1.6ms)
7983
+ Rendered application/_search_form.html.haml (2.0ms)
7984
+ Person Load (0.8ms) SELECT "people".* FROM "people" WHERE (1=2 or first_name like '%%' or last_name like '%%' or bio like '%%' or updated_at like '%%' or dob like '%%' or grade like '%%') ORDER BY "people"."last_name" ASC
7985
+ Rendered people/index.html.haml within layouts/application (21.5ms)
7986
+ Completed 200 OK in 43ms (Views: 39.1ms | ActiveRecord: 1.2ms)
7987
+
7988
+
7989
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 22:24:23 -0400
7990
+
7991
+
7992
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 22:24:23 -0400
7993
+
7994
+
7995
+ Started GET "/assets/sql_search_n_sort.js?body=1" for 127.0.0.1 at 2014-10-01 22:24:23 -0400
7996
+
7997
+
7998
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 22:24:24 -0400
7999
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8000
+ Migrating to CreateUnsearchables (20141003015903)
8001
+  (0.1ms) begin transaction
8002
+  (0.5ms) CREATE TABLE "unsearchables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "int" integer, "dt" date, "tm" time, "dtm" datetime, "bool" boolean, "flt" float, "dec" decimal, "bn" blob, "ts" datetime, "created_at" datetime, "updated_at" datetime) 
8003
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141003015903"]]
8004
+  (1.7ms) commit transaction
8005
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8006
+  (1.9ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "headline" varchar(255), "by_line" varchar(255), "date_pub" datetime, "body" text, "created_at" datetime, "updated_at" datetime) 
8007
+  (1.2ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "age" integer, "email" varchar(255), "bio" text, "nickname" varchar(255), "created_at" datetime, "updated_at" datetime, "dob" datetime, "grade" integer)
8008
+  (1.2ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "descr" text, "price" integer, "date_produced" datetime, "manufacturer" varchar(255), "created_at" datetime, "updated_at" datetime) 
8009
+  (1.0ms) CREATE TABLE "unsearchables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "int" integer, "dt" date, "tm" time, "dtm" datetime, "bool" boolean, "flt" float, "dec" decimal, "bn" blob, "ts" datetime, "created_at" datetime, "updated_at" datetime)
8010
+  (1.1ms) CREATE TABLE "vehicles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "year" integer, "manufacturer" varchar(255), "model" varchar(255), "color" varchar(255), "engine" varchar(255), "doorrs" integer, "cylinders" integer, "created_at" datetime, "updated_at" datetime) 
8011
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
8012
+  (0.1ms) select sqlite_version(*)
8013
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8014
+  (0.1ms) SELECT version FROM "schema_migrations"
8015
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141003015903')
8016
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140713221826')
8017
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140715080028')
8018
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723223003')
8019
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140725015524')
8020
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140725161555')
8021
+
8022
+
8023
+ Started GET "/people" for 127.0.0.1 at 2014-10-04 11:59:33 -0400
8024
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
8025
+ Processing by PeopleController#index as HTML
8026
+ Rendered people/index.html.haml within layouts/application (33.5ms)
8027
+ Completed 500 Internal Server Error in 139ms
8028
+
8029
+ ActionView::Template::Error (Missing partial people/_sort_form, application/_sort_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
8030
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/sql_search_n_sort/test/dummy/app/views"
8031
+ ):
8032
+ 3: %thead
8033
+ 4: %tr
8034
+ 5: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
8035
+ 6: =render "sort_form" #, :opts => @sort_dropdown_opts
8036
+ 7: %td{:colspan => 3, :style => "padding-bottom: 15px;"}
8037
+ 8: =render "search_form"
8038
+ 9: %tr
8039
+ app/views/people/index.html.haml:6:in `_app_views_people_index_html_haml___1397626248905117301_2173059720'
8040
+
8041
+
8042
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
8043
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.9ms)
8044
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.1ms)
8045
+
8046
+
8047
+ Started GET "/people" for 127.0.0.1 at 2014-10-04 12:14:59 -0400
8048
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8049
+ Processing by PeopleController#index as HTML
8050
+ Rendered application/_sort_form.html.haml (1.8ms)
8051
+ Rendered application/_search_form.html.haml (10.2ms)
8052
+ Person Load (47.0ms) SELECT "people".* FROM "people" WHERE (1=2 or first_name like '%%' or last_name like '%%' or bio like '%%') ORDER BY "people"."last_name" ASC
8053
+ Rendered people/index.html.haml within layouts/application (82.4ms)
8054
+ Completed 200 OK in 211ms (Views: 161.1ms | ActiveRecord: 47.3ms)
8055
+
8056
+
8057
+ Started GET "/assets/sql_search_n_sort.js?body=1" for 127.0.0.1 at 2014-10-04 12:15:00 -0400
8058
+
8059
+
8060
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-04 12:15:00 -0400
8061
+
8062
+
8063
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-04 12:15:00 -0400
8064
+
8065
+
8066
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-04 12:15:00 -0400
8067
+
8068
+
8069
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:15:12 -0400
8070
+
8071
+ ActionController::RoutingError (No route matches [GET] "/unsearchables"):
8072
+ actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8073
+ actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8074
+ railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
8075
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
8076
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
8077
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
8078
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
8079
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
8080
+ actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
8081
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
8082
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
8083
+ activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
8084
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8085
+ actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
8086
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
8087
+ railties (4.1.4) lib/rails/engine.rb:514:in `call'
8088
+ railties (4.1.4) lib/rails/application.rb:144:in `call'
8089
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8090
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
8091
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
8092
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
8093
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
8094
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
8095
+
8096
+
8097
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
8098
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
8099
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (48.1ms)
8100
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (84.1ms)
8101
+
8102
+
8103
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:16:34 -0400
8104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8105
+
8106
+ ActionController::RoutingError (uninitialized constant UnsearchablesController):
8107
+ activesupport (4.1.4) lib/active_support/inflector/methods.rb:238:in `const_get'
8108
+ activesupport (4.1.4) lib/active_support/inflector/methods.rb:238:in `block in constantize'
8109
+ activesupport (4.1.4) lib/active_support/inflector/methods.rb:236:in `each'
8110
+ activesupport (4.1.4) lib/active_support/inflector/methods.rb:236:in `inject'
8111
+ activesupport (4.1.4) lib/active_support/inflector/methods.rb:236:in `constantize'
8112
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:78:in `controller_reference'
8113
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:68:in `controller'
8114
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:46:in `call'
8115
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
8116
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
8117
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
8118
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
8119
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
8120
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
8121
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
8122
+ actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
8123
+ actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
8124
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
8125
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
8126
+ actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
8127
+ activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
8128
+ activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
8129
+ activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
8130
+ actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
8131
+ activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
8132
+ actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
8133
+ actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
8134
+ actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
8135
+ actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
8136
+ actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8137
+ railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
8138
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
8139
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
8140
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
8141
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
8142
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
8143
+ actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
8144
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
8145
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
8146
+ activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
8147
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8148
+ actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
8149
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
8150
+ railties (4.1.4) lib/rails/engine.rb:514:in `call'
8151
+ railties (4.1.4) lib/rails/application.rb:144:in `call'
8152
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8153
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
8154
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
8155
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
8156
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
8157
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
8158
+
8159
+
8160
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
8161
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
8162
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.5ms)
8163
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (30.2ms)
8164
+
8165
+
8166
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:18:00 -0400
8167
+ Processing by UnsearchablesController#index as HTML
8168
+ Completed 500 Internal Server Error in 32ms
8169
+
8170
+ ActionView::MissingTemplate (Missing template unsearchables/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
8171
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/sql_search_n_sort/test/dummy/app/views"
8172
+ ):
8173
+ actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
8174
+ actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
8175
+ actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
8176
+ actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
8177
+ actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
8178
+ actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
8179
+ actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
8180
+ actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
8181
+ actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
8182
+ actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
8183
+ actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
8184
+ actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
8185
+ actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
8186
+ actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
8187
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
8188
+ activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
8189
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
8190
+ activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
8191
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
8192
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
8193
+ activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
8194
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
8195
+ actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
8196
+ actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
8197
+ actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
8198
+ actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
8199
+ actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8200
+ activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
8201
+ activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
8202
+ activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
8203
+ activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `call'
8204
+ activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
8205
+ activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
8206
+ activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
8207
+ activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
8208
+ activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
8209
+ actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
8210
+ actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
8211
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
8212
+ activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
8213
+ activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8214
+ activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
8215
+ actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8216
+ actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8217
+ activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8218
+ actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
8219
+ actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
8220
+ actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
8221
+ actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
8222
+ actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
8223
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
8224
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
8225
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
8226
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
8227
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
8228
+ actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
8229
+ actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
8230
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
8231
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
8232
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
8233
+ actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
8234
+ actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
8235
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
8236
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
8237
+ actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
8238
+ activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
8239
+ activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
8240
+ activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
8241
+ actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
8242
+ activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
8243
+ actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
8244
+ actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
8245
+ actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
8246
+ actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
8247
+ actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8248
+ railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
8249
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
8250
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
8251
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
8252
+ activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
8253
+ railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
8254
+ actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
8255
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
8256
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
8257
+ activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
8258
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8259
+ actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
8260
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
8261
+ railties (4.1.4) lib/rails/engine.rb:514:in `call'
8262
+ railties (4.1.4) lib/rails/application.rb:144:in `call'
8263
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
8264
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
8265
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
8266
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
8267
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
8268
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
8269
+
8270
+
8271
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.8ms)
8272
+
8273
+
8274
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:19:14 -0400
8275
+ Processing by UnsearchablesController#index as HTML
8276
+ Rendered unsearchables/index.html.haml within layouts/application (0.9ms)
8277
+ Completed 200 OK in 28ms (Views: 27.2ms | ActiveRecord: 0.0ms)
8278
+
8279
+
8280
+ Started GET "/assets/sql_search_n_sort.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:15 -0400
8281
+
8282
+
8283
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:15 -0400
8284
+
8285
+
8286
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-04 12:19:15 -0400
8287
+
8288
+
8289
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:15 -0400
8290
+
8291
+
8292
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:19:59 -0400
8293
+ Processing by UnsearchablesController#index as HTML
8294
+ Rendered unsearchables/index.html.haml within layouts/application (1.0ms)
8295
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
8296
+
8297
+
8298
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-04 12:19:59 -0400
8299
+
8300
+
8301
+ Started GET "/assets/sql_search_n_sort.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:59 -0400
8302
+
8303
+
8304
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:59 -0400
8305
+
8306
+
8307
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-04 12:19:59 -0400
8308
+
8309
+
8310
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:36:41 -0400
8311
+ Processing by UnsearchablesController#index as HTML
8312
+ Completed 500 Internal Server Error in 3ms
8313
+
8314
+ Exceptions::UnsearchableType (column dt of unsearchables is not searchable):
8315
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8316
+ app/models/unsearchable.rb:1:in `<top (required)>'
8317
+
8318
+
8319
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
8320
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
8321
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
8322
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.9ms)
8323
+
8324
+
8325
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:37:50 -0400
8326
+ Processing by UnsearchablesController#index as HTML
8327
+ Completed 500 Internal Server Error in 2ms
8328
+
8329
+ Exceptions::UnsearchableType (column dt of unsearchables is not searchable):
8330
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8331
+ app/models/unsearchable.rb:1:in `<top (required)>'
8332
+
8333
+
8334
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8335
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
8336
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
8337
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms)
8338
+
8339
+
8340
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:38:00 -0400
8341
+ Processing by UnsearchablesController#index as HTML
8342
+ Completed 500 Internal Server Error in 2ms
8343
+
8344
+ Exceptions::UnsearchableType (column dt of unsearchables is not searchable):
8345
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8346
+ app/models/unsearchable.rb:1:in `<top (required)>'
8347
+
8348
+
8349
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8350
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
8351
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
8352
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.3ms)
8353
+
8354
+
8355
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:38:14 -0400
8356
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8357
+ Processing by UnsearchablesController#index as HTML
8358
+ Completed in 96319ms
8359
+
8360
+
8361
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:39:58 -0400
8362
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8363
+ Processing by UnsearchablesController#index as HTML
8364
+ Completed 500 Internal Server Error in 388ms
8365
+
8366
+ Exceptions::UnsearchableType (Column 'dt' of model Unsearchable is not searchable):
8367
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8368
+ app/models/unsearchable.rb:1:in `<top (required)>'
8369
+
8370
+
8371
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8372
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
8373
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.1ms)
8374
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.9ms)
8375
+
8376
+
8377
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:41:40 -0400
8378
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8379
+ Processing by UnsearchablesController#index as HTML
8380
+ Completed 500 Internal Server Error in 365ms
8381
+
8382
+ Exceptions::UnsearchableType (Column 'dt' of model Unsearchable is not searchable because
8383
+ it is not of type string or text.):
8384
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8385
+ app/models/unsearchable.rb:1:in `<top (required)>'
8386
+
8387
+
8388
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8389
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
8390
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.6ms)
8391
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.3ms)
8392
+
8393
+
8394
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:55:27 -0400
8395
+ Processing by UnsearchablesController#index as HTML
8396
+ Rendered unsearchables/index.html.haml within layouts/application (1.0ms)
8397
+ Completed 200 OK in 56ms (Views: 54.5ms | ActiveRecord: 0.0ms)
8398
+
8399
+
8400
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-04 12:55:27 -0400
8401
+
8402
+
8403
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-04 12:55:27 -0400
8404
+
8405
+
8406
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:55:48 -0400
8407
+ Processing by UnsearchablesController#index as HTML
8408
+ Completed 500 Internal Server Error in 3ms
8409
+
8410
+ Exceptions::UnsearchableType (Column 'dt' of model Unsearchable is not searchable because
8411
+ it is not of type string or text.):
8412
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8413
+ app/models/unsearchable.rb:1:in `<top (required)>'
8414
+ app/controllers/unsearchables_controller.rb:3:in `index'
8415
+
8416
+
8417
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
8418
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
8419
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
8420
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.5ms)
8421
+
8422
+
8423
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:56:15 -0400
8424
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8425
+ Processing by UnsearchablesController#index as HTML
8426
+ Completed 500 Internal Server Error in 372ms
8427
+
8428
+ ArgumentError (wrong number of arguments (1 for 2)):
8429
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8430
+ app/models/unsearchable.rb:1:in `<top (required)>'
8431
+ app/controllers/unsearchables_controller.rb:3:in `index'
8432
+
8433
+
8434
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8435
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
8436
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.1ms)
8437
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.3ms)
8438
+
8439
+
8440
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 12:58:15 -0400
8441
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8442
+ Processing by UnsearchablesController#index as HTML
8443
+ Completed 500 Internal Server Error in 103508ms
8444
+
8445
+ Exceptions::UnsearchableType (Exceptions::UnsearchableType):
8446
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8447
+ app/models/unsearchable.rb:1:in `<top (required)>'
8448
+ app/controllers/unsearchables_controller.rb:3:in `index'
8449
+
8450
+
8451
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
8452
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
8453
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.7ms)
8454
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.0ms)
8455
+
8456
+
8457
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 13:00:06 -0400
8458
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
8459
+ Processing by UnsearchablesController#index as HTML
8460
+ Completed 500 Internal Server Error in 2ms
8461
+
8462
+ ArgumentError (wrong number of arguments (1 for 2)):
8463
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8464
+ app/models/unsearchable.rb:1:in `<top (required)>'
8465
+ app/controllers/unsearchables_controller.rb:3:in `index'
8466
+
8467
+
8468
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
8469
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
8470
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.4ms)
8471
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.2ms)
8472
+
8473
+
8474
+ Started GET "/unsearchables" for 127.0.0.1 at 2014-10-04 13:00:50 -0400
8475
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8476
+ Processing by UnsearchablesController#index as HTML
8477
+ Completed 500 Internal Server Error in 1699731ms
8478
+
8479
+ Exceptions::UnsearchableType (Exceptions::UnsearchableType):
8480
+ app/models/unsearchable.rb:4:in `<class:Unsearchable>'
8481
+ app/models/unsearchable.rb:1:in `<top (required)>'
8482
+ app/controllers/unsearchables_controller.rb:3:in `index'
8483
+
8484
+
8485
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms)
8486
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
8487
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.8ms)
8488
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.0ms)