clark_kent 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/clark_kent/report_filters_controller.rb +1 -1
  3. data/app/helpers/clark_kent/application_helper.rb +10 -2
  4. data/app/models/clark_kent/report.rb +18 -16
  5. data/app/models/clark_kent/report_column.rb +8 -1
  6. data/app/models/clark_kent/report_config.rb +5 -1
  7. data/app/models/clark_kent/reportable.rb +16 -11
  8. data/app/models/clark_kent/sharing_scope_kind.rb +0 -4
  9. data/app/views/clark_kent/report_filters/_object_filter_edit.html.erb +1 -1
  10. data/app/views/clark_kent/reports/show.html.erb +2 -2
  11. data/lib/clark_kent/version.rb +1 -1
  12. data/test/controllers/clark_kent/reports_controller_test.rb +1 -0
  13. data/test/dummy/app/controllers/orders_controller.rb +5 -0
  14. data/test/dummy/app/models/reporting/order.rb +6 -6
  15. data/test/dummy/app/views/orders/show.html.erb +14 -0
  16. data/test/dummy/config/routes.rb +2 -0
  17. data/test/dummy/db/development.sqlite3 +0 -0
  18. data/test/dummy/db/test.sqlite3 +0 -0
  19. data/test/dummy/log/development.log +2952 -0
  20. data/test/dummy/log/test.log +3051 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  39. metadata +10 -6
@@ -18073,3 +18073,2955 @@ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-03-
18073
18073
 
18074
18074
  ClarkKent::ReportFilter Load (0.5ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" ORDER BY "clark_kent_report_filters"."id" ASC LIMIT 1
18075
18075
  ClarkKent::ReportFilter Load (0.3ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" ORDER BY "clark_kent_report_filters"."id" DESC LIMIT 1
18076
+
18077
+
18078
+ Started GET "/" for 127.0.0.1 at 2015-04-27 11:40:52 -0600
18079
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
18080
+ Processing by Rails::WelcomeController#index as HTML
18081
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
18082
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
18083
+
18084
+
18085
+ Started GET "/reports" for 127.0.0.1 at 2015-04-27 11:40:57 -0600
18086
+ Processing by ClarkKent::ReportsController#index as HTML
18087
+ Completed 500 Internal Server Error in 5ms
18088
+
18089
+ SyntaxError (/Users/eric/projects/clark_kent/test/dummy/app/models/reporting/order.rb:32: syntax error, unexpected ',', expecting =>
18090
+ /Users/eric/projects/clark_kent/test/dummy/app/models/reporting/order.rb:33: syntax error, unexpected ',', expecting keyword_end
18091
+ /Users/eric/projects/clark_kent/test/dummy/app/models/reporting/order.rb:34: syntax error, unexpected ',', expecting keyword_end
18092
+ /Users/eric/projects/clark_kent/test/dummy/app/models/reporting/order.rb:36: syntax error, unexpected '}', expecting keyword_end):
18093
+ app/models/reporting/order.rb:32: syntax error, unexpected ',', expecting =>
18094
+ app/models/reporting/order.rb:33: syntax error, unexpected ',', expecting keyword_end
18095
+ app/models/reporting/order.rb:34: syntax error, unexpected ',', expecting keyword_end
18096
+ app/models/reporting/order.rb:36: syntax error, unexpected '}', expecting keyword_end
18097
+ app/models/order.rb:2:in `<class:Order>'
18098
+ app/models/order.rb:1:in `<top (required)>'
18099
+ app/controllers/application_controller.rb:7:in `prepare_filters'
18100
+
18101
+
18102
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
18103
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
18104
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.4ms)
18105
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (36.3ms)
18106
+
18107
+
18108
+ Started GET "/reports" for 127.0.0.1 at 2015-04-27 11:41:33 -0600
18109
+
18110
+
18111
+ Started GET "/reports" for 127.0.0.1 at 2015-04-27 11:45:53 -0600
18112
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18113
+ Processing by ClarkKent::ReportsController#index as HTML
18114
+ Completed 500 Internal Server Error in 9ms
18115
+
18116
+ NoMethodError (undefined method `summarizable=' for #<ClarkKent::ReportColumnConfig:0x007fdc8cb8b300>):
18117
+ app/models/reporting/order.rb:34:in `<module:Order>'
18118
+ app/models/reporting/order.rb:2:in `<module:Reporting>'
18119
+ app/models/reporting/order.rb:1:in `<top (required)>'
18120
+ app/models/order.rb:2:in `<class:Order>'
18121
+ app/models/order.rb:1:in `<top (required)>'
18122
+ app/controllers/application_controller.rb:7:in `prepare_filters'
18123
+
18124
+
18125
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
18126
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
18127
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.0ms)
18128
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.0ms)
18129
+
18130
+
18131
+ Started GET "/reports" for 127.0.0.1 at 2015-04-27 11:46:22 -0600
18132
+
18133
+
18134
+ Started GET "/reports" for 127.0.0.1 at 2015-04-27 11:46:45 -0600
18135
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18136
+ Processing by ClarkKent::ReportsController#index as HTML
18137
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL ORDER BY "users"."id" ASC LIMIT 1
18138
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE (id is not null) ORDER BY "users"."id" ASC LIMIT 1
18139
+ ClarkKent::Report Exists (0.6ms) SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "User"]]
18140
+ Department Load (1.2ms) SELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1 [["id", 1]]
18141
+ ClarkKent::Report Exists (0.1ms) SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "Department"]]
18142
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? [["sharing_scope_id", 1], ["sharing_scope_type", "Department"]]
18143
+  (0.1ms) SELECT COUNT(*) FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" IS NULL
18144
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/index.html.erb within layouts/application (72.2ms)
18145
+ Completed 200 OK in 193ms (Views: 166.6ms | ActiveRecord: 4.2ms)
18146
+
18147
+
18148
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 11:46:46 -0600
18149
+
18150
+
18151
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 11:46:46 -0600
18152
+
18153
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18154
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18155
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18156
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18157
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18158
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18159
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18160
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18161
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18162
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18163
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18164
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18165
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18166
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18167
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18168
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18169
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18170
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18171
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18172
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18173
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18174
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18175
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18176
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18177
+
18178
+
18179
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
18180
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms)
18181
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms)
18182
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (11.2ms)
18183
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (95.0ms)
18184
+
18185
+
18186
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 11:46:46 -0600
18187
+
18188
+
18189
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 11:46:46 -0600
18190
+
18191
+
18192
+ Started GET "/reports/reports/1/edit" for 127.0.0.1 at 2015-04-27 11:46:56 -0600
18193
+ Processing by ClarkKent::ReportsController#edit as HTML
18194
+ Parameters: {"id"=>"1"}
18195
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
18196
+ Department Load (0.2ms) SELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1 [["id", 1]]
18197
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_show.html.erb (6.8ms)
18198
+ ClarkKent::ReportFilter Load (0.7ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18199
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
18200
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
18201
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_object_filter_show.html.erb (1.4ms)
18202
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (5.9ms)
18203
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show_wrapper.html.erb (8.0ms)
18204
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_index.html.erb (31.8ms)
18205
+ ClarkKent::ReportColumn Load (1.1ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
18206
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (3.0ms)
18207
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (7.7ms)
18208
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (0.5ms)
18209
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (1.5ms)
18210
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (0.4ms)
18211
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (1.4ms)
18212
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (0.3ms)
18213
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (1.1ms)
18214
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_index.html.erb (28.8ms)
18215
+ ClarkKent::ReportEmail Load (0.4ms) SELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."report_id" = ? [["report_id", 1]]
18216
+ ClarkKent::ReportDateFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."type" IN ('ClarkKent::ReportDateFilter') AND "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"]]
18217
+ User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "clark_kent_user_report_emails" ON "users"."id" = "clark_kent_user_report_emails"."user_id" WHERE "clark_kent_user_report_emails"."report_email_id" = ? [["report_email_id", 1]]
18218
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_show.html.erb (24.8ms)
18219
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_show_wrapper.html.erb (26.4ms)
18220
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_index.html.erb (42.6ms)
18221
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/edit.html.erb within layouts/application (119.1ms)
18222
+ Completed 200 OK in 146ms (Views: 138.9ms | ActiveRecord: 5.1ms)
18223
+
18224
+
18225
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 11:46:56 -0600
18226
+
18227
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18228
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18229
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18230
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18231
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18232
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18233
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18234
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18235
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18236
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18237
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18238
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18239
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18240
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18241
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18242
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18243
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18244
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18245
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18246
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18247
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18248
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18249
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18250
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18251
+
18252
+
18253
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
18254
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms)
18255
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
18256
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms)
18257
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.7ms)
18258
+
18259
+
18260
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 11:46:57 -0600
18261
+
18262
+
18263
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 11:47:43 -0600
18264
+
18265
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18266
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18267
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18268
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18269
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18270
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18271
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18272
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18273
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18274
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18275
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18276
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18277
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18278
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18279
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18280
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18281
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18282
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18283
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18284
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18285
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18286
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18287
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18288
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18289
+
18290
+
18291
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
18292
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms)
18293
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.4ms)
18294
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.4ms)
18295
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (45.9ms)
18296
+
18297
+
18298
+ Started GET "/reports/report_columns/new?report_id=1&authenticity_token=NUSxn2y5nIvJgbdNijLgwuC0JMpCISbybzkqbUr4ACA%3D" for 127.0.0.1 at 2015-04-27 11:48:04 -0600
18299
+ Processing by ClarkKent::ReportColumnsController#new as */*
18300
+ Parameters: {"report_id"=>"1", "authenticity_token"=>"NUSxn2y5nIvJgbdNijLgwuC0JMpCISbybzkqbUr4ACA="}
18301
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
18302
+  (0.2ms) SELECT "clark_kent_report_columns"."column_name" FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
18303
+ CACHE (0.0ms) SELECT "clark_kent_report_columns"."column_name" FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
18304
+ CACHE (0.0ms) SELECT "clark_kent_report_columns"."column_name" FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
18305
+ CACHE (0.0ms) SELECT "clark_kent_report_columns"."column_name" FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
18306
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
18307
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
18308
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_form.html.erb (85.0ms)
18309
+ Completed 200 OK in 93ms (Views: 90.9ms | ActiveRecord: 0.7ms)
18310
+
18311
+
18312
+ Started GET "/reports/reports" for 127.0.0.1 at 2015-04-27 11:58:42 -0600
18313
+ Processing by ClarkKent::ReportsController#index as HTML
18314
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL ORDER BY "users"."id" ASC LIMIT 1
18315
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE (id is not null) ORDER BY "users"."id" ASC LIMIT 1
18316
+ ClarkKent::Report Exists (0.2ms) SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "User"]]
18317
+ Department Load (0.1ms) SELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1 [["id", 1]]
18318
+ ClarkKent::Report Exists (0.1ms) SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "Department"]]
18319
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? [["sharing_scope_id", 1], ["sharing_scope_type", "Department"]]
18320
+  (0.1ms) SELECT COUNT(*) FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" IS NULL
18321
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/index.html.erb within layouts/application (30.2ms)
18322
+ Completed 200 OK in 66ms (Views: 49.8ms | ActiveRecord: 2.8ms)
18323
+
18324
+
18325
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 11:58:42 -0600
18326
+
18327
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18328
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18329
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18330
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18331
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18332
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18333
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18334
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18335
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18336
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18337
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18338
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18339
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18340
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18341
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18342
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18343
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18344
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18345
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18346
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18347
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18348
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18349
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18350
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18351
+
18352
+
18353
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
18354
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms)
18355
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.0ms)
18356
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.6ms)
18357
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.9ms)
18358
+
18359
+
18360
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 11:58:42 -0600
18361
+
18362
+
18363
+ Started GET "/reports/reports/1" for 127.0.0.1 at 2015-04-27 11:58:44 -0600
18364
+ Processing by ClarkKent::ReportsController#show as HTML
18365
+ Parameters: {"id"=>"1"}
18366
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18367
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18368
+  (0.3ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18369
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18370
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18371
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.9ms)
18372
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.5ms)
18373
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (0.5ms)
18374
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (14.9ms)
18375
+ Completed 200 OK in 55ms (Views: 39.0ms | ActiveRecord: 1.8ms)
18376
+
18377
+
18378
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 11:58:44 -0600
18379
+
18380
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18381
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18382
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18383
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18384
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18385
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18386
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18387
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18388
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18389
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18390
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18391
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18392
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18393
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18394
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18395
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18396
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18397
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18398
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18399
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18400
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18401
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18402
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18403
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18404
+
18405
+
18406
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms)
18407
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
18408
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms)
18409
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms)
18410
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (59.1ms)
18411
+
18412
+
18413
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 11:58:44 -0600
18414
+
18415
+
18416
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 11:58:47 -0600
18417
+ Processing by ClarkKent::ReportsController#show as HTML
18418
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18419
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18420
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18421
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18422
+ Completed 500 Internal Server Error in 18ms
18423
+
18424
+ NoMethodError (undefined method `custom_select' for nil:NilClass):
18425
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:165:in `block in select_clauses'
18426
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18427
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18428
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:163:in `select_clauses'
18429
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:44:in `report'
18430
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
18431
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
18432
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
18433
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
18434
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
18435
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
18436
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18437
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18438
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18439
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18440
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18441
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
18442
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
18443
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18444
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18445
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
18446
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
18447
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
18448
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
18449
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18450
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
18451
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18452
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
18453
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18454
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18455
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18456
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
18457
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
18458
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
18459
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18460
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
18461
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
18462
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18463
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
18464
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18465
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18466
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18467
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18468
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18469
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
18470
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
18471
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18472
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18473
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18474
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18475
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18476
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18477
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18478
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18479
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
18480
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18481
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18482
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
18483
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
18484
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
18485
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
18486
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18487
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
18488
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18489
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18490
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18491
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18492
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18493
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18494
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18495
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18496
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18497
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18498
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18499
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18500
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18501
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18502
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18503
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18504
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18505
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18506
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18507
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18508
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18509
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18510
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18511
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18512
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18513
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18514
+
18515
+
18516
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
18517
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
18518
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.8ms)
18519
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms)
18520
+
18521
+
18522
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:00:58 -0600
18523
+ Processing by ClarkKent::ReportsController#show as HTML
18524
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18525
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18526
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18527
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18528
+ Completed 500 Internal Server Error in 57ms
18529
+
18530
+ NoMethodError (undefined method `custom_select' for nil:NilClass):
18531
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:166:in `block in select_clauses'
18532
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18533
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18534
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:164:in `select_clauses'
18535
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:44:in `report'
18536
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
18537
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
18538
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
18539
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
18540
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
18541
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
18542
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18543
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18544
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18545
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18546
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18547
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
18548
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
18549
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18550
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18551
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
18552
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
18553
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
18554
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
18555
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18556
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
18557
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18558
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
18559
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18560
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18561
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18562
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
18563
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
18564
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
18565
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18566
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
18567
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
18568
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18569
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
18570
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18571
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18572
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18573
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18574
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18575
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
18576
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
18577
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18578
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18579
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18580
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18581
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18582
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18583
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18584
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18585
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
18586
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18587
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18588
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
18589
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
18590
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
18591
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
18592
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18593
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
18594
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18595
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18596
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18597
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18598
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18599
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18600
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18601
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18602
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18603
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18604
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18605
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18606
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18607
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18608
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18609
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18610
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18611
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18612
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18613
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18614
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18615
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18616
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18617
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18618
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18619
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18620
+
18621
+
18622
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
18623
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
18624
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
18625
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.7ms)
18626
+
18627
+
18628
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:01:24 -0600
18629
+ Processing by ClarkKent::ReportsController#show as HTML
18630
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18631
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18632
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18633
+ ClarkKent::ReportFilter Load (0.4ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18634
+ Completed 500 Internal Server Error in 56ms
18635
+
18636
+ NoMethodError (undefined method `custom_select' for nil:NilClass):
18637
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:167:in `block in select_clauses'
18638
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18639
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18640
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:164:in `select_clauses'
18641
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:44:in `report'
18642
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
18643
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
18644
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
18645
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
18646
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
18647
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
18648
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18649
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18650
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18651
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18652
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18653
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
18654
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
18655
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18656
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18657
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
18658
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
18659
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
18660
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
18661
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18662
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
18663
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18664
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
18665
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18666
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18667
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18668
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
18669
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
18670
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
18671
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18672
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
18673
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
18674
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18675
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
18676
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18677
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18678
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18679
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18680
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18681
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
18682
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
18683
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18684
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18685
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18686
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18687
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18688
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18689
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18690
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18691
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
18692
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18693
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18694
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
18695
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
18696
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
18697
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
18698
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18699
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
18700
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18701
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18702
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18703
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18704
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18705
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18706
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18707
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18708
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18709
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18710
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18711
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18712
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18713
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18714
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18715
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18716
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18717
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18718
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18719
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18720
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18721
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18722
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18723
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18724
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18725
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18726
+
18727
+
18728
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
18729
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
18730
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
18731
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.5ms)
18732
+
18733
+
18734
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:01:39 -0600
18735
+ Processing by ClarkKent::ReportsController#show as HTML
18736
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18737
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18738
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18739
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18740
+ Completed 500 Internal Server Error in 52ms
18741
+
18742
+ NoMethodError (undefined method `custom_select' for nil:NilClass):
18743
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:167:in `block in select_clauses'
18744
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18745
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18746
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:164:in `select_clauses'
18747
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:44:in `report'
18748
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
18749
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
18750
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
18751
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
18752
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
18753
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
18754
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18755
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18756
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18757
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18758
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18759
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
18760
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
18761
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18762
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18763
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
18764
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
18765
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
18766
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
18767
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18768
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
18769
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18770
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
18771
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18772
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18773
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18774
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
18775
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
18776
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
18777
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18778
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
18779
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
18780
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18781
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
18782
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18783
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18784
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18785
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18786
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18787
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
18788
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
18789
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18790
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18791
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18792
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18793
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18794
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18795
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18796
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18797
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
18798
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18799
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18800
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
18801
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
18802
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
18803
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
18804
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18805
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
18806
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18807
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18808
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18809
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18810
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18811
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18812
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18813
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18814
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18815
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18816
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18817
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18818
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18819
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18820
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18821
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18822
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18823
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18824
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18825
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18826
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18827
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18828
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18829
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18830
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18831
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18832
+
18833
+
18834
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
18835
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
18836
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
18837
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.3ms)
18838
+
18839
+
18840
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:02:06 -0600
18841
+ Processing by ClarkKent::ReportsController#show as HTML
18842
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18843
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18844
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18845
+ ClarkKent::ReportFilter Load (0.3ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18846
+ Completed 500 Internal Server Error in 53ms
18847
+
18848
+ NoMethodError (undefined method `custom_select' for nil:NilClass):
18849
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:165:in `block in select_clauses'
18850
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18851
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
18852
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:163:in `select_clauses'
18853
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:44:in `report'
18854
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
18855
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
18856
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
18857
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
18858
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
18859
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
18860
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18861
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
18862
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18863
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18864
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18865
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
18866
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
18867
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
18868
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
18869
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
18870
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
18871
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
18872
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
18873
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
18874
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
18875
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
18876
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
18877
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
18878
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
18879
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
18880
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
18881
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
18882
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
18883
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
18884
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
18885
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
18886
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
18887
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
18888
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18889
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18890
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18891
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18892
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18893
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
18894
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
18895
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
18896
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
18897
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
18898
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
18899
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
18900
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
18901
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
18902
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
18903
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
18904
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
18905
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
18906
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
18907
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
18908
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
18909
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
18910
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
18911
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
18912
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
18913
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18914
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
18915
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
18916
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18917
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18918
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18919
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18920
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18921
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18922
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18923
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18924
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18925
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18926
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18927
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18928
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18929
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18930
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18931
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18932
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18933
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18934
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18935
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18936
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18937
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18938
+
18939
+
18940
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
18941
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
18942
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms)
18943
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
18944
+
18945
+
18946
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:05:21 -0600
18947
+ Processing by ClarkKent::ReportsController#show as HTML
18948
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
18949
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
18950
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
18951
+ ClarkKent::ReportFilter Load (0.3ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18952
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
18953
+  (0.7ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18954
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18955
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
18956
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
18957
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
18958
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (0.2ms)
18959
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (9.2ms)
18960
+ Completed 200 OK in 104ms (Views: 32.9ms | ActiveRecord: 3.3ms)
18961
+
18962
+
18963
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 12:05:21 -0600
18964
+
18965
+
18966
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:05:21 -0600
18967
+
18968
+
18969
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 12:05:21 -0600
18970
+
18971
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
18972
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18973
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
18974
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
18975
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
18976
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
18977
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
18978
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
18979
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
18980
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18981
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
18982
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
18983
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
18984
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18985
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
18986
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
18987
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
18988
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
18989
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
18990
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
18991
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
18992
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
18993
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
18994
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
18995
+
18996
+
18997
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
18998
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms)
18999
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
19000
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms)
19001
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (89.2ms)
19002
+
19003
+
19004
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:05:21 -0600
19005
+
19006
+
19007
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:05:25 -0600
19008
+ Processing by ClarkKent::ReportsController#show as HTML
19009
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19010
+ ClarkKent::Report Load (0.3ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19011
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19012
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19013
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19014
+  (0.1ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19015
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19016
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19017
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
19018
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
19019
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (0.0ms)
19020
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (7.2ms)
19021
+ Completed 200 OK in 41ms (Views: 32.5ms | ActiveRecord: 1.0ms)
19022
+
19023
+
19024
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 12:05:25 -0600
19025
+
19026
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
19027
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
19028
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19029
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19030
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19031
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19032
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19033
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19034
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19035
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19036
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19037
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19038
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19039
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19040
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19041
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19042
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19043
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19044
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19045
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19046
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19047
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19048
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19049
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19050
+
19051
+
19052
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
19053
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
19054
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms)
19055
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
19056
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (42.0ms)
19057
+
19058
+
19059
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 12:05:25 -0600
19060
+
19061
+
19062
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:05:25 -0600
19063
+
19064
+
19065
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:05:25 -0600
19066
+ Order Load (2.0ms) SELECT "orders".* FROM "orders"
19067
+ User Load (0.2ms) SELECT "users".* FROM "users"
19068
+  (0.2ms) begin transaction
19069
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "description", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["amount", 25], ["created_at", "2015-04-27 18:06:56.812735"], ["description", "this is a test"], ["updated_at", "2015-04-27 18:06:56.812735"], ["user_id", 1]]
19070
+  (1.5ms) commit transaction
19071
+  (0.1ms) begin transaction
19072
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "description", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["amount", 30], ["created_at", "2015-04-27 18:07:06.558252"], ["description", "this is a test 2"], ["updated_at", "2015-04-27 18:07:06.558252"], ["user_id", 1]]
19073
+  (1.5ms) commit transaction
19074
+  (0.1ms) begin transaction
19075
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "description", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["amount", 50], ["created_at", "2015-04-27 18:07:14.169122"], ["description", "this is a test 3"], ["updated_at", "2015-04-27 18:07:14.169122"], ["user_id", 1]]
19076
+  (1.7ms) commit transaction
19077
+
19078
+
19079
+ Started GET "/reports/reports/1?created_at_from=&created_at_until=&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:07:17 -0600
19080
+ Processing by ClarkKent::ReportsController#show as HTML
19081
+ Parameters: {"created_at_from"=>"", "created_at_until"=>"", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19082
+ ClarkKent::Report Load (0.3ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19083
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19084
+ ClarkKent::ReportFilter Load (0.1ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19085
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19086
+  (0.1ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19087
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19088
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19089
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.2ms)
19090
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.1ms)
19091
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (0.0ms)
19092
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (5.2ms)
19093
+ Completed 200 OK in 48ms (Views: 40.6ms | ActiveRecord: 1.0ms)
19094
+
19095
+
19096
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 12:07:17 -0600
19097
+
19098
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
19099
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
19100
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19101
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19102
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19103
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19104
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19105
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19106
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19107
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19108
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19109
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19110
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19111
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19112
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19113
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19114
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19115
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19116
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19117
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19118
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19119
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19120
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19121
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19122
+
19123
+
19124
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
19125
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
19126
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.8ms)
19127
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms)
19128
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.2ms)
19129
+
19130
+
19131
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 12:07:17 -0600
19132
+
19133
+
19134
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:07:17 -0600
19135
+
19136
+
19137
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:07:17 -0600
19138
+
19139
+
19140
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:07:30 -0600
19141
+ Processing by ClarkKent::ReportsController#show as HTML
19142
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19143
+ ClarkKent::Report Load (0.6ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19144
+ ClarkKent::ReportColumn Load (0.5ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19145
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19146
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19147
+ Completed 500 Internal Server Error in 10ms
19148
+
19149
+ NoMethodError (undefined method `joins' for []:Array):
19150
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:76:in `block in report'
19151
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `each'
19152
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `report'
19153
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
19154
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
19155
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
19156
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19157
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19158
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19159
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19160
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19161
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19162
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19163
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19164
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19165
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19166
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19167
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19168
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19169
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19170
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19171
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19172
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19173
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19174
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19175
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19176
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19177
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19178
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19179
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19180
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19181
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19182
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19183
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19184
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19185
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19186
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19187
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19188
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19189
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19190
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19191
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19192
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19193
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19194
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19195
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19196
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19197
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19198
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19199
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19200
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19201
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19202
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19203
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19204
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19205
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19206
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19207
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19208
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19209
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19210
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19211
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19212
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19213
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19214
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19215
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19216
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19217
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19218
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19219
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19220
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19221
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19222
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19223
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19224
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19225
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19226
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19227
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19228
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19229
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19230
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19231
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19232
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19233
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19234
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19235
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19236
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19237
+
19238
+
19239
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
19240
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
19241
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
19242
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.5ms)
19243
+
19244
+
19245
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:32:09 -0600
19246
+ Processing by ClarkKent::ReportsController#show as HTML
19247
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19248
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19249
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19250
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19251
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19252
+ Completed 500 Internal Server Error in 49ms
19253
+
19254
+ NoMethodError (undefined method `joins' for nil:NilClass):
19255
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:76:in `block in report'
19256
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `each'
19257
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `report'
19258
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
19259
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
19260
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
19261
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19262
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19263
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19264
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19265
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19266
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19267
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19268
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19269
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19270
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19271
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19272
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19273
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19274
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19275
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19276
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19277
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19278
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19279
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19280
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19281
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19282
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19283
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19284
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19285
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19286
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19287
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19288
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19289
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19290
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19291
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19292
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19293
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19294
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19295
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19296
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19297
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19298
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19299
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19300
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19301
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19302
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19303
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19304
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19305
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19306
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19307
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19308
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19309
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19310
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19311
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19312
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19313
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19314
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19315
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19316
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19317
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19318
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19319
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19320
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19321
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19322
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19323
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19324
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19325
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19326
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19327
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19328
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19329
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19330
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19331
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19332
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19333
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19334
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19335
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19336
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19337
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19338
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19339
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19340
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19341
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19342
+
19343
+
19344
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
19345
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
19346
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
19347
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms)
19348
+
19349
+
19350
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:34:01 -0600
19351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19352
+ Processing by ClarkKent::ReportsController#show as HTML
19353
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19354
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19355
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19356
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19357
+ ClarkKent::ReportColumn Load (0.5ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19358
+ Completed 500 Internal Server Error in 89ms
19359
+
19360
+ NoMethodError (undefined method `joins' for nil:NilClass):
19361
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:76:in `block in report'
19362
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `each'
19363
+ /Users/eric/projects/clark_kent/app/models/clark_kent/reportable.rb:70:in `report'
19364
+ /Users/eric/projects/clark_kent/app/models/clark_kent/report.rb:74:in `get_query'
19365
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:33:in `show'
19366
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
19367
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19368
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19369
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19370
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19371
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19372
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19373
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19374
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19375
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19376
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19377
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19378
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19379
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19380
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19381
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19382
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19383
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19384
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19385
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19386
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19387
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19388
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19389
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19390
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19391
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19392
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19393
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19394
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19395
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19396
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19397
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19398
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19399
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19400
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19401
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19402
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19403
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19404
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19405
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19406
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19407
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19408
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19409
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19410
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19411
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19412
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19413
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19414
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19415
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19416
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19417
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19418
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19419
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19420
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19421
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19422
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19423
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19424
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19425
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19426
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19427
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19428
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19429
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19430
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19431
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19432
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19433
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19434
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19435
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19436
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19437
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19438
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19439
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19440
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19441
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19442
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19443
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19444
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19445
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19446
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19447
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19448
+
19449
+
19450
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
19451
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
19452
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.3ms)
19453
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.2ms)
19454
+
19455
+
19456
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:34:55 -0600
19457
+ Processing by ClarkKent::ReportsController#show as HTML
19458
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19459
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19460
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19461
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19462
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19463
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
19464
+ (SELECT u.name
19465
+ FROM users u
19466
+ WHERE u.id = orders.user_id)
19467
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
19468
+  (0.3ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19469
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19470
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19471
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.8ms)
19472
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.4ms)
19473
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
19474
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
19475
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (7.2ms)
19476
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
19477
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_download_link.html.erb (1.0ms)
19478
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (41.3ms)
19479
+ Completed 200 OK in 130ms (Views: 72.4ms | ActiveRecord: 3.7ms)
19480
+
19481
+
19482
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 12:34:55 -0600
19483
+
19484
+
19485
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:34:55 -0600
19486
+
19487
+
19488
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 12:34:55 -0600
19489
+
19490
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
19491
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
19492
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19493
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19494
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19495
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19496
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19497
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19498
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19499
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19500
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19501
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19502
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19503
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19504
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19505
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19506
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19507
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19508
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19509
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19510
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19511
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19512
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19513
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19514
+
19515
+
19516
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
19517
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
19518
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.6ms)
19519
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.2ms)
19520
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (60.0ms)
19521
+
19522
+
19523
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 12:34:56 -0600
19524
+
19525
+
19526
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 12:37:06 -0600
19527
+ Processing by ClarkKent::ReportsController#show as HTML
19528
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19529
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19530
+ ClarkKent::ReportColumn Load (0.1ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19531
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19532
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19533
+ Order Load (0.1ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
19534
+ (SELECT u.name
19535
+ FROM users u
19536
+ WHERE u.id = orders.user_id)
19537
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
19538
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19539
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19540
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19541
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.2ms)
19542
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.1ms)
19543
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
19544
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
19545
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (2.9ms)
19546
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
19547
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (12.5ms)
19548
+ Completed 500 Internal Server Error in 75ms
19549
+
19550
+ ActionView::Template::Error (undefined method `name' for #<ClarkKent::ReportColumn:0x007f7fa82bbcc0>):
19551
+ 33: <% @rows.each do |row| %>
19552
+ 34: <tr>
19553
+ 35: <% @report.report_columns.each do |column| %>
19554
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
19555
+ 37: <% end %>
19556
+ 38: </tr>
19557
+ 39: <% end if @rows.present? %>
19558
+ activemodel (4.1.9) lib/active_model/attribute_methods.rb:435:in `method_missing'
19559
+ activerecord (4.1.9) lib/active_record/attribute_methods.rb:213:in `method_missing'
19560
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:37:in `display_for_value'
19561
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19562
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19563
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19564
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19565
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19566
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19567
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19568
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
19569
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
19570
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
19571
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
19572
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
19573
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19574
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19575
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19576
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19577
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19578
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
19579
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
19580
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
19581
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
19582
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
19583
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
19584
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
19585
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
19586
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
19587
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
19588
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
19589
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
19590
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
19591
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
19592
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
19593
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
19594
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
19595
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
19596
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
19597
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
19598
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
19599
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
19600
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
19601
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19602
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19603
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19604
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19605
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19606
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19607
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19608
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19609
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19610
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19611
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19612
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19613
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19614
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19615
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19616
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19617
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19618
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19619
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19620
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19621
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19622
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19623
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19624
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19625
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19626
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19627
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19628
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19629
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19630
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19631
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19632
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19633
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19634
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19635
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19636
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19637
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19638
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19639
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19640
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19641
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19642
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19643
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19644
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19645
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19646
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19647
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19648
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19649
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19650
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19651
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19652
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19653
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19654
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19655
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19656
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19657
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19658
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19659
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19660
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19661
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19662
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19663
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19664
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19665
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19666
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19667
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19668
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19669
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19670
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19671
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19672
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19673
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19674
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19675
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19676
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19677
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19678
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19679
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19680
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19681
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19682
+
19683
+
19684
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
19685
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
19686
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.5ms)
19687
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" ORDER BY "clark_kent_report_columns"."id" DESC LIMIT 1
19688
+
19689
+
19690
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:04:22 -0600
19691
+ Processing by ClarkKent::ReportsController#show as HTML
19692
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19693
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19694
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19695
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19696
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19697
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
19698
+ (SELECT u.name
19699
+ FROM users u
19700
+ WHERE u.id = orders.user_id)
19701
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
19702
+  (0.3ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19703
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19704
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19705
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
19706
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
19707
+  (0.4ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
19708
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
19709
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (4.1ms)
19710
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
19711
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (17.0ms)
19712
+ Completed 500 Internal Server Error in 103ms
19713
+
19714
+ ActionView::Template::Error (undefined method `link' for #<ClarkKent::ReportColumn:0x007f7fa3850dc0>):
19715
+ 33: <% @rows.each do |row| %>
19716
+ 34: <tr>
19717
+ 35: <% @report.report_columns.each do |column| %>
19718
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
19719
+ 37: <% end %>
19720
+ 38: </tr>
19721
+ 39: <% end if @rows.present? %>
19722
+ activemodel (4.1.9) lib/active_model/attribute_methods.rb:435:in `method_missing'
19723
+ activerecord (4.1.9) lib/active_record/attribute_methods.rb:213:in `method_missing'
19724
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:38:in `display_for_value'
19725
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19726
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19727
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19728
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19729
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19730
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19731
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19732
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
19733
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
19734
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
19735
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
19736
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
19737
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19738
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19739
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19740
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19741
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19742
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
19743
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
19744
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
19745
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
19746
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
19747
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
19748
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
19749
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
19750
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
19751
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
19752
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
19753
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
19754
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
19755
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
19756
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
19757
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
19758
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
19759
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
19760
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
19761
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
19762
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
19763
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
19764
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
19765
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19766
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19767
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19768
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19769
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19770
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19771
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19772
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19773
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19774
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19775
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19776
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19777
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19778
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19779
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19780
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19781
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19782
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19783
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19784
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19785
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19786
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19787
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19788
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19789
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19790
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19791
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19792
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19793
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19794
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19795
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19796
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19797
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19798
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19799
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19800
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19801
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19802
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19803
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19804
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19805
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19806
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19807
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19808
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19809
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19810
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19811
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19812
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19813
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19814
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19815
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19816
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19817
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19818
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19819
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19820
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19821
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19822
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19823
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19824
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19825
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19826
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19827
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19828
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19829
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19830
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19831
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19832
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19833
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19834
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
19835
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19836
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
19837
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19838
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19839
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
19840
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19841
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19842
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19843
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
19844
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
19845
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
19846
+
19847
+
19848
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
19849
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
19850
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.1ms)
19851
+
19852
+
19853
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:05:39 -0600
19854
+ Processing by ClarkKent::ReportsController#show as HTML
19855
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
19856
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
19857
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
19858
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19859
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
19860
+ Order Load (0.1ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
19861
+ (SELECT u.name
19862
+ FROM users u
19863
+ WHERE u.id = orders.user_id)
19864
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
19865
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19866
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19867
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
19868
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
19869
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.1ms)
19870
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
19871
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
19872
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (3.4ms)
19873
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
19874
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
19875
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
19876
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
19877
+ Department Load (0.1ms) SELECT "departments".* FROM "departments"
19878
+ User Load (0.1ms) SELECT "users".* FROM "users"
19879
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (42.5ms)
19880
+ Completed 500 Internal Server Error in 104ms
19881
+
19882
+ ActionView::Template::Error (undefined method `edit_manage_reservation_path' for #<ActionDispatch::Routing::RoutesProxy:0x007f7fa4997a98>):
19883
+ 33: <% @rows.each do |row| %>
19884
+ 34: <tr>
19885
+ 35: <% @report.report_columns.each do |column| %>
19886
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
19887
+ 37: <% end %>
19888
+ 38: </tr>
19889
+ 39: <% end if @rows.present? %>
19890
+ actionpack (4.1.9) lib/action_dispatch/routing/routes_proxy.rb:36:in `method_missing'
19891
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40:in `display_for_value'
19892
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19893
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19894
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19895
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19896
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19897
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
19898
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
19899
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
19900
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
19901
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
19902
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
19903
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
19904
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19905
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19906
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19907
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19908
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19909
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
19910
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
19911
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
19912
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
19913
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
19914
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
19915
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
19916
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
19917
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
19918
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
19919
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
19920
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
19921
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
19922
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
19923
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
19924
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
19925
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
19926
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
19927
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
19928
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
19929
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
19930
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
19931
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
19932
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
19933
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
19934
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
19935
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19936
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
19937
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19938
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19939
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19940
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
19941
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
19942
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
19943
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
19944
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
19945
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
19946
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
19947
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
19948
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19949
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
19950
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19951
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
19952
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19953
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19954
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19955
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
19956
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
19957
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
19958
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19959
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
19960
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
19961
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19962
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
19963
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19964
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19965
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19966
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19967
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
19968
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
19969
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
19970
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
19971
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
19972
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
19973
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
19974
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19975
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19976
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19977
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19978
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
19979
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19980
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19981
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
19982
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
19983
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
19984
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
19985
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19986
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
19987
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19988
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
19989
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19990
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19991
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19992
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
19993
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
19994
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19995
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
19996
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
19997
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
19998
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19999
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20000
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20001
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20002
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20003
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20004
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20005
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20006
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20007
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20008
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20009
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20010
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20011
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20012
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20013
+
20014
+
20015
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
20016
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
20017
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.1ms)
20018
+
20019
+
20020
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:29:51 -0600
20021
+
20022
+ SyntaxError (/Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40: syntax error, unexpected '(', expecting ')'
20023
+ ...ue, main_app.send(column.link)(value)) if column.try(:link)
20024
+ ... ^):
20025
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40: syntax error, unexpected '(', expecting ')'
20026
+ ...ue, main_app.send(column.link)(value)) if column.try(:link)
20027
+ ... ^
20028
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `load'
20029
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `block in load_file'
20030
+ activesupport (4.1.9) lib/active_support/dependencies.rb:633:in `new_constants_in'
20031
+ activesupport (4.1.9) lib/active_support/dependencies.rb:442:in `load_file'
20032
+ activesupport (4.1.9) lib/active_support/dependencies.rb:342:in `require_or_load'
20033
+ activesupport (4.1.9) lib/active_support/dependencies.rb:307:in `depend_on'
20034
+ activesupport (4.1.9) lib/active_support/dependencies.rb:225:in `require_dependency'
20035
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:152:in `block in modules_for_helpers'
20036
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:147:in `map!'
20037
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:147:in `modules_for_helpers'
20038
+ actionpack (4.1.9) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers'
20039
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:111:in `helper'
20040
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:179:in `default_helper_module!'
20041
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:39:in `block in inherited'
20042
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:39:in `class_eval'
20043
+ actionpack (4.1.9) lib/abstract_controller/helpers.rb:39:in `inherited'
20044
+ actionview (4.1.9) lib/action_view/layouts.rb:217:in `inherited'
20045
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:226:in `inherited'
20046
+ actionpack (4.1.9) lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
20047
+ actionpack (4.1.9) lib/action_controller/railties/helpers.rb:5:in `inherited'
20048
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/application_controller.rb:1:in `<top (required)>'
20049
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `load'
20050
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `block in load_file'
20051
+ activesupport (4.1.9) lib/active_support/dependencies.rb:633:in `new_constants_in'
20052
+ activesupport (4.1.9) lib/active_support/dependencies.rb:442:in `load_file'
20053
+ activesupport (4.1.9) lib/active_support/dependencies.rb:342:in `require_or_load'
20054
+ activesupport (4.1.9) lib/active_support/dependencies.rb:480:in `load_missing_constant'
20055
+ activesupport (4.1.9) lib/active_support/dependencies.rb:180:in `const_missing'
20056
+ /Users/eric/projects/clark_kent/app/controllers/clark_kent/reports_controller.rb:1:in `<top (required)>'
20057
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `load'
20058
+ activesupport (4.1.9) lib/active_support/dependencies.rb:443:in `block in load_file'
20059
+ activesupport (4.1.9) lib/active_support/dependencies.rb:633:in `new_constants_in'
20060
+ activesupport (4.1.9) lib/active_support/dependencies.rb:442:in `load_file'
20061
+ activesupport (4.1.9) lib/active_support/dependencies.rb:342:in `require_or_load'
20062
+ activesupport (4.1.9) lib/active_support/dependencies.rb:480:in `load_missing_constant'
20063
+ activesupport (4.1.9) lib/active_support/dependencies.rb:180:in `const_missing'
20064
+ activesupport (4.1.9) lib/active_support/inflector/methods.rb:240:in `const_get'
20065
+ activesupport (4.1.9) lib/active_support/inflector/methods.rb:240:in `block in constantize'
20066
+ activesupport (4.1.9) lib/active_support/inflector/methods.rb:236:in `each'
20067
+ activesupport (4.1.9) lib/active_support/inflector/methods.rb:236:in `inject'
20068
+ activesupport (4.1.9) lib/active_support/inflector/methods.rb:236:in `constantize'
20069
+ activesupport (4.1.9) lib/active_support/dependencies.rb:552:in `get'
20070
+ activesupport (4.1.9) lib/active_support/dependencies.rb:583:in `constantize'
20071
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:78:in `controller_reference'
20072
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:68:in `controller'
20073
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:46:in `call'
20074
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20075
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20076
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20077
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20078
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20079
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
20080
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
20081
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20082
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20083
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20084
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20085
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20086
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20087
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20088
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20089
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
20090
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20091
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20092
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
20093
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
20094
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
20095
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
20096
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20097
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
20098
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20099
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
20100
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20101
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20102
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20103
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20104
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20105
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20106
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20107
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20108
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20109
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20110
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20111
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20112
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20113
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20114
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20115
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20116
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20117
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20118
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20119
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20120
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20121
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20122
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20123
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20124
+
20125
+
20126
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
20127
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
20128
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
20129
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.9ms)
20130
+
20131
+
20132
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:30:35 -0600
20133
+ Processing by ClarkKent::ReportsController#show as HTML
20134
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
20135
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
20136
+ ClarkKent::ReportColumn Load (0.1ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
20137
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20138
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
20139
+ Order Load (0.1ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
20140
+ (SELECT u.name
20141
+ FROM users u
20142
+ WHERE u.id = orders.user_id)
20143
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
20144
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20145
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20146
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20147
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
20148
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
20149
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
20150
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
20151
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (3.2ms)
20152
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
20153
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20154
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20155
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20156
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20157
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (20.9ms)
20158
+ Completed 500 Internal Server Error in 91ms
20159
+
20160
+ ActionView::Template::Error (No route matches {:action=>"show", :controller=>"orders", :format=>nil, :id=>nil} missing required keys: [:id]):
20161
+ 33: <% @rows.each do |row| %>
20162
+ 34: <tr>
20163
+ 35: <% @report.report_columns.each do |column| %>
20164
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
20165
+ 37: <% end %>
20166
+ 38: </tr>
20167
+ 39: <% end if @rows.present? %>
20168
+ actionpack (4.1.9) lib/action_dispatch/journey/formatter.rb:39:in `generate'
20169
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:606:in `generate'
20170
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:636:in `generate'
20171
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:672:in `url_for'
20172
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:404:in `url_for'
20173
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:230:in `call'
20174
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:181:in `call'
20175
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:277:in `block (2 levels) in define_url_helper'
20176
+ actionpack (4.1.9) lib/action_dispatch/routing/routes_proxy.rb:31:in `order_path'
20177
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40:in `display_for_value'
20178
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20179
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20180
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20181
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20182
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20183
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20184
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20185
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
20186
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
20187
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
20188
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
20189
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
20190
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
20191
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20192
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20193
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20194
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
20195
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
20196
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
20197
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
20198
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
20199
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
20200
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
20201
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
20202
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
20203
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
20204
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
20205
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
20206
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
20207
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
20208
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
20209
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
20210
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
20211
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
20212
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
20213
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
20214
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
20215
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
20216
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
20217
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
20218
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
20219
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
20220
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
20221
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20222
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20223
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20224
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20225
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20226
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
20227
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
20228
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20229
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20230
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
20231
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
20232
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
20233
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
20234
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
20235
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20236
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20237
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20238
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20239
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
20240
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20241
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
20242
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
20243
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
20244
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
20245
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
20246
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
20247
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
20248
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
20249
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20250
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20251
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20252
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20253
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20254
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
20255
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
20256
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20257
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20258
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20259
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20260
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20261
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20262
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20263
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20264
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
20265
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20266
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20267
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
20268
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
20269
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
20270
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
20271
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20272
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
20273
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20274
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
20275
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20276
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20277
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20278
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20279
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20280
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20281
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20282
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20283
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20284
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20285
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20286
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20287
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20288
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20289
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20290
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20291
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20292
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20293
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20294
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20295
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20296
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20297
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20298
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20299
+
20300
+
20301
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
20302
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
20303
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.0ms)
20304
+
20305
+
20306
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:31:33 -0600
20307
+ Processing by ClarkKent::ReportsController#show as HTML
20308
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
20309
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
20310
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
20311
+ ClarkKent::ReportFilter Load (0.3ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20312
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
20313
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
20314
+ (SELECT u.name
20315
+ FROM users u
20316
+ WHERE u.id = orders.user_id)
20317
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
20318
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20319
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20320
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20321
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.3ms)
20322
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.1ms)
20323
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
20324
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
20325
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (2.9ms)
20326
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
20327
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20328
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20329
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20330
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20331
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (18.6ms)
20332
+ Completed 500 Internal Server Error in 90ms
20333
+
20334
+ ActionView::Template::Error (No route matches {:action=>"show", :controller=>"orders", :id=>nil} missing required keys: [:id]):
20335
+ 33: <% @rows.each do |row| %>
20336
+ 34: <tr>
20337
+ 35: <% @report.report_columns.each do |column| %>
20338
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
20339
+ 37: <% end %>
20340
+ 38: </tr>
20341
+ 39: <% end if @rows.present? %>
20342
+ actionpack (4.1.9) lib/action_dispatch/journey/formatter.rb:39:in `generate'
20343
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:606:in `generate'
20344
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:636:in `generate'
20345
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:672:in `url_for'
20346
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:404:in `url_for'
20347
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:230:in `call'
20348
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:181:in `call'
20349
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:277:in `block (2 levels) in define_url_helper'
20350
+ actionpack (4.1.9) lib/action_dispatch/routing/routes_proxy.rb:31:in `order_path'
20351
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40:in `display_for_value'
20352
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20353
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20354
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20355
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20356
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20357
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20358
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20359
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
20360
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
20361
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
20362
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
20363
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
20364
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
20365
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20366
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20367
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20368
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
20369
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
20370
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
20371
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
20372
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
20373
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
20374
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
20375
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
20376
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
20377
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
20378
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
20379
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
20380
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
20381
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
20382
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
20383
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
20384
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
20385
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
20386
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
20387
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
20388
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
20389
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
20390
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
20391
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
20392
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
20393
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
20394
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
20395
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20396
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20397
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20398
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20399
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20400
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
20401
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
20402
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20403
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20404
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
20405
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
20406
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
20407
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
20408
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
20409
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20410
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20411
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20412
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20413
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
20414
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20415
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
20416
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
20417
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
20418
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
20419
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
20420
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
20421
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
20422
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
20423
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20424
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20425
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20426
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20427
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20428
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
20429
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
20430
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20431
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20432
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20433
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20434
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20435
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20436
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20437
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20438
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
20439
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20440
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20441
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
20442
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
20443
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
20444
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
20445
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20446
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
20447
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20448
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
20449
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20450
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20451
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20452
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20453
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20454
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20455
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20456
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20457
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20458
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20459
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20460
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20461
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20462
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20463
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20464
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20465
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20466
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20467
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20468
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20469
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20470
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20471
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20472
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20473
+
20474
+
20475
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
20476
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
20477
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.8ms)
20478
+
20479
+
20480
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:32:06 -0600
20481
+ Processing by ClarkKent::ReportsController#show as HTML
20482
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
20483
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
20484
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
20485
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20486
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
20487
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
20488
+ (SELECT u.name
20489
+ FROM users u
20490
+ WHERE u.id = orders.user_id)
20491
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
20492
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20493
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20494
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20495
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.6ms)
20496
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
20497
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
20498
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
20499
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (3.1ms)
20500
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
20501
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20502
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20503
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20504
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20505
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (22.6ms)
20506
+ Completed 500 Internal Server Error in 121ms
20507
+
20508
+ ActionView::Template::Error (No route matches {:action=>"show", :controller=>"orders", :id=>nil} missing required keys: [:id]):
20509
+ 33: <% @rows.each do |row| %>
20510
+ 34: <tr>
20511
+ 35: <% @report.report_columns.each do |column| %>
20512
+ 36: <td><%= display_for_value(row[column.column_name], column) %></td>
20513
+ 37: <% end %>
20514
+ 38: </tr>
20515
+ 39: <% end if @rows.present? %>
20516
+ actionpack (4.1.9) lib/action_dispatch/journey/formatter.rb:39:in `generate'
20517
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:606:in `generate'
20518
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:636:in `generate'
20519
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:672:in `url_for'
20520
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:404:in `url_for'
20521
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:230:in `call'
20522
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:181:in `call'
20523
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:277:in `block (2 levels) in define_url_helper'
20524
+ actionpack (4.1.9) lib/action_dispatch/routing/routes_proxy.rb:31:in `order_path'
20525
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40:in `display_for_value'
20526
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:36:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20527
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20528
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20529
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20530
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20531
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20532
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093129385980'
20533
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
20534
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
20535
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
20536
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
20537
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
20538
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
20539
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20540
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20541
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20542
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
20543
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
20544
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
20545
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
20546
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
20547
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
20548
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
20549
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
20550
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
20551
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
20552
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
20553
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
20554
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
20555
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
20556
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
20557
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
20558
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
20559
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
20560
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
20561
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
20562
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
20563
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
20564
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
20565
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
20566
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
20567
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
20568
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
20569
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20570
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20571
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20572
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20573
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20574
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
20575
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
20576
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20577
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20578
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
20579
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
20580
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
20581
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
20582
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
20583
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20584
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20585
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20586
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20587
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
20588
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20589
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
20590
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
20591
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
20592
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
20593
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
20594
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
20595
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
20596
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
20597
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20598
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20599
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20600
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20601
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20602
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
20603
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
20604
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20605
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20606
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20607
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20608
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20609
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20610
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20611
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20612
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
20613
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20614
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20615
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
20616
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
20617
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
20618
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
20619
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20620
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
20621
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20622
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
20623
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20624
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20625
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20626
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20627
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20628
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20629
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20630
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20631
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20632
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20633
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20634
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20635
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20636
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20637
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20638
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20639
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20640
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20641
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20642
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20643
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20644
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20645
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20646
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20647
+
20648
+
20649
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
20650
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
20651
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.8ms)
20652
+
20653
+
20654
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:34:02 -0600
20655
+ Processing by ClarkKent::ReportsController#show as HTML
20656
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
20657
+ ClarkKent::Report Load (0.3ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
20658
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
20659
+ ClarkKent::ReportFilter Load (0.2ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20660
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
20661
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
20662
+ (SELECT u.name
20663
+ FROM users u
20664
+ WHERE u.id = orders.user_id)
20665
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
20666
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20667
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20668
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20669
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.4ms)
20670
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.1ms)
20671
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
20672
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
20673
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (2.3ms)
20674
+ ClarkKent::ReportColumn Load (0.1ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
20675
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20676
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20677
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20678
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20679
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (26.0ms)
20680
+ Completed 500 Internal Server Error in 38ms
20681
+
20682
+ ActionView::Template::Error (No route matches {:action=>"show", :controller=>"orders", :id=>nil} missing required keys: [:id]):
20683
+ 34: <tr>
20684
+ 35: <% @report.report_columns.each do |column| %>
20685
+ 36: <% puts row.to_yaml %>
20686
+ 37: <td><%= display_for_value(row[column.column_name], column) %></td>
20687
+ 38: <% end %>
20688
+ 39: </tr>
20689
+ 40: <% end if @rows.present? %>
20690
+ actionpack (4.1.9) lib/action_dispatch/journey/formatter.rb:39:in `generate'
20691
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:606:in `generate'
20692
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:636:in `generate'
20693
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:672:in `url_for'
20694
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:404:in `url_for'
20695
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:230:in `call'
20696
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:181:in `call'
20697
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:277:in `block (2 levels) in define_url_helper'
20698
+ actionpack (4.1.9) lib/action_dispatch/routing/routes_proxy.rb:31:in `order_path'
20699
+ /Users/eric/projects/clark_kent/app/helpers/clark_kent/application_helper.rb:40:in `display_for_value'
20700
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:37:in `block (2 levels) in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093128916440'
20701
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20702
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20703
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:35:in `block in ___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093128916440'
20704
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20705
+ activerecord (4.1.9) lib/active_record/relation/delegation.rb:46:in `each'
20706
+ /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb:33:in `___sers_eric_projects_clark_kent_app_views_clark_kent_reports_show_html_erb___921458976248155300_70093128916440'
20707
+ actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
20708
+ activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
20709
+ actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
20710
+ actionview (4.1.9) lib/action_view/template.rb:143:in `render'
20711
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
20712
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
20713
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20714
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20715
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20716
+ actionview (4.1.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
20717
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
20718
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
20719
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
20720
+ actionview (4.1.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
20721
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
20722
+ actionview (4.1.9) lib/action_view/renderer/renderer.rb:23:in `render'
20723
+ actionview (4.1.9) lib/action_view/rendering.rb:99:in `_render_template'
20724
+ actionpack (4.1.9) lib/action_controller/metal/streaming.rb:217:in `_render_template'
20725
+ actionview (4.1.9) lib/action_view/rendering.rb:82:in `render_to_body'
20726
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
20727
+ actionpack (4.1.9) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
20728
+ actionpack (4.1.9) lib/abstract_controller/rendering.rb:25:in `render'
20729
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:16:in `render'
20730
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
20731
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
20732
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
20733
+ activesupport (4.1.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
20734
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
20735
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
20736
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
20737
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
20738
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
20739
+ actionpack (4.1.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
20740
+ actionpack (4.1.9) lib/abstract_controller/base.rb:189:in `process_action'
20741
+ actionpack (4.1.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
20742
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
20743
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20744
+ activesupport (4.1.9) lib/active_support/callbacks.rb:113:in `call'
20745
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20746
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20747
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20748
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `call'
20749
+ activesupport (4.1.9) lib/active_support/callbacks.rb:229:in `block in halting'
20750
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `call'
20751
+ activesupport (4.1.9) lib/active_support/callbacks.rb:166:in `block in halting'
20752
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `call'
20753
+ activesupport (4.1.9) lib/active_support/callbacks.rb:86:in `run_callbacks'
20754
+ actionpack (4.1.9) lib/abstract_controller/callbacks.rb:19:in `process_action'
20755
+ actionpack (4.1.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
20756
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
20757
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `block in instrument'
20758
+ activesupport (4.1.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20759
+ activesupport (4.1.9) lib/active_support/notifications.rb:159:in `instrument'
20760
+ actionpack (4.1.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20761
+ actionpack (4.1.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
20762
+ activerecord (4.1.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20763
+ actionpack (4.1.9) lib/abstract_controller/base.rb:136:in `process'
20764
+ actionview (4.1.9) lib/action_view/rendering.rb:30:in `process'
20765
+ actionpack (4.1.9) lib/action_controller/metal.rb:196:in `dispatch'
20766
+ actionpack (4.1.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
20767
+ actionpack (4.1.9) lib/action_controller/metal.rb:232:in `block in action'
20768
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
20769
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
20770
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
20771
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20772
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20773
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20774
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20775
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20776
+ railties (4.1.9) lib/rails/railtie.rb:194:in `public_send'
20777
+ railties (4.1.9) lib/rails/railtie.rb:194:in `method_missing'
20778
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:73:in `block in call'
20779
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `each'
20780
+ actionpack (4.1.9) lib/action_dispatch/journey/router.rb:59:in `call'
20781
+ actionpack (4.1.9) lib/action_dispatch/routing/route_set.rb:685:in `call'
20782
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
20783
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
20784
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
20785
+ actionpack (4.1.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
20786
+ actionpack (4.1.9) lib/action_dispatch/middleware/flash.rb:254:in `call'
20787
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
20788
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
20789
+ actionpack (4.1.9) lib/action_dispatch/middleware/cookies.rb:562:in `call'
20790
+ activerecord (4.1.9) lib/active_record/query_cache.rb:36:in `call'
20791
+ activerecord (4.1.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
20792
+ activerecord (4.1.9) lib/active_record/migration.rb:380:in `call'
20793
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
20794
+ activesupport (4.1.9) lib/active_support/callbacks.rb:82:in `run_callbacks'
20795
+ actionpack (4.1.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20796
+ actionpack (4.1.9) lib/action_dispatch/middleware/reloader.rb:73:in `call'
20797
+ actionpack (4.1.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
20798
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20799
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20800
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20801
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20802
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20803
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20804
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20805
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20806
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20807
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20808
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20809
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20810
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20811
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20812
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20813
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20814
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20815
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20816
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20817
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20818
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20819
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20820
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20821
+
20822
+
20823
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
20824
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
20825
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.2ms)
20826
+
20827
+
20828
+ Started GET "/reports/reports/1?created_at_from=04%2F01%2F2015&created_at_until=04%2F30%2F2015&user_email=&run_report=true&button=" for 127.0.0.1 at 2015-04-27 13:34:32 -0600
20829
+ Processing by ClarkKent::ReportsController#show as HTML
20830
+ Parameters: {"created_at_from"=>"04/01/2015", "created_at_until"=>"04/30/2015", "user_email"=>"", "run_report"=>"true", "button"=>"", "id"=>"1"}
20831
+ ClarkKent::Report Load (0.1ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = 1 ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
20832
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
20833
+ ClarkKent::ReportFilter Load (0.3ms) SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20834
+ ClarkKent::ReportColumn Load (0.3ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
20835
+ Order Load (0.2ms) SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
20836
+ (SELECT u.name
20837
+ FROM users u
20838
+ WHERE u.id = orders.user_id)
20839
+ as user_name, NULL FROM "orders" WHERE "orders"."user_id" = 1 ORDER BY orders.id LIMIT 10 OFFSET 0
20840
+  (0.2ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20841
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20842
+ CACHE (0.0ms) SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
20843
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.6ms)
20844
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.3ms)
20845
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE "orders"."user_id" = 1
20846
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE "orders"."user_id" = 1 LIMIT 10 OFFSET 0) subquery_for_count
20847
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (4.1ms)
20848
+ ClarkKent::ReportColumn Load (0.2ms) SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
20849
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20850
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20851
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20852
+ CACHE (0.0ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
20853
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_download_link.html.erb (0.5ms)
20854
+ Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (36.8ms)
20855
+ Completed 200 OK in 141ms (Views: 59.0ms | ActiveRecord: 5.0ms)
20856
+
20857
+
20858
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 13:34:32 -0600
20859
+
20860
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
20861
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20862
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20863
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20864
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20865
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20866
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20867
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20868
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20869
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20870
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20871
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20872
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20873
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20874
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20875
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20876
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20877
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20878
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20879
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20880
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20881
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20882
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20883
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20884
+
20885
+
20886
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
20887
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
20888
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.4ms)
20889
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
20890
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (42.3ms)
20891
+
20892
+
20893
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 13:34:32 -0600
20894
+
20895
+
20896
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:34:32 -0600
20897
+
20898
+
20899
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:34:32 -0600
20900
+
20901
+
20902
+ Started GET "/orders/2" for 127.0.0.1 at 2015-04-27 13:34:34 -0600
20903
+ Processing by OrdersController#show as HTML
20904
+ Parameters: {"id"=>"2"}
20905
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 2]]
20906
+ Rendered orders/show.html.erb within layouts/application (12.6ms)
20907
+ Completed 500 Internal Server Error in 17ms
20908
+
20909
+ ActionView::Template::Error (undefined local variable or method `order' for #<#<Class:0x007f7fa5fc1148>:0x007f7fa5fc0478>):
20910
+ 1: <table>
20911
+ 2: <td>id</td>
20912
+ 3: <td><%= order.id %></td>
20913
+ 4: </tr>
20914
+ 5: <tr>
20915
+ 6: <tr>
20916
+ app/views/orders/show.html.erb:3:in `_app_views_orders_show_html_erb___2487975929450646885_70093111153220'
20917
+
20918
+
20919
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
20920
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
20921
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.9ms)
20922
+
20923
+
20924
+ Started GET "/orders/2" for 127.0.0.1 at 2015-04-27 13:35:12 -0600
20925
+ Processing by OrdersController#show as HTML
20926
+ Parameters: {"id"=>"2"}
20927
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 2]]
20928
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
20929
+ Rendered orders/show.html.erb within layouts/application (7.9ms)
20930
+ Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.9ms)
20931
+
20932
+
20933
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 13:35:12 -0600
20934
+
20935
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
20936
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20937
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20938
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20939
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20940
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20941
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20942
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20943
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20944
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20945
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20946
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
20947
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
20948
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20949
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
20950
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
20951
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
20952
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
20953
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
20954
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
20955
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
20956
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
20957
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
20958
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
20959
+
20960
+
20961
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
20962
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
20963
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
20964
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
20965
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (82.7ms)
20966
+
20967
+
20968
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 13:35:12 -0600
20969
+
20970
+
20971
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:35:12 -0600
20972
+
20973
+
20974
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:35:12 -0600
20975
+
20976
+
20977
+ Started GET "/orders/2" for 127.0.0.1 at 2015-04-27 13:35:23 -0600
20978
+ Processing by OrdersController#show as HTML
20979
+ Parameters: {"id"=>"2"}
20980
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 2]]
20981
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
20982
+ Rendered orders/show.html.erb within layouts/application (1.4ms)
20983
+ Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.2ms)
20984
+
20985
+
20986
+ Started GET "/stylesheets/clark_kent/application.css" for 127.0.0.1 at 2015-04-27 13:35:23 -0600
20987
+
20988
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/clark_kent/application.css"):
20989
+ actionpack (4.1.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20990
+ actionpack (4.1.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
20991
+ railties (4.1.9) lib/rails/rack/logger.rb:38:in `call_app'
20992
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `block in call'
20993
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
20994
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:26:in `tagged'
20995
+ activesupport (4.1.9) lib/active_support/tagged_logging.rb:68:in `tagged'
20996
+ railties (4.1.9) lib/rails/rack/logger.rb:20:in `call'
20997
+ actionpack (4.1.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
20998
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
20999
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
21000
+ activesupport (4.1.9) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
21001
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
21002
+ actionpack (4.1.9) lib/action_dispatch/middleware/static.rb:84:in `call'
21003
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
21004
+ railties (4.1.9) lib/rails/engine.rb:514:in `call'
21005
+ railties (4.1.9) lib/rails/application.rb:144:in `call'
21006
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
21007
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
21008
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
21009
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
21010
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
21011
+ /Users/eric/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
21012
+
21013
+
21014
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
21015
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
21016
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.5ms)
21017
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
21018
+ Rendered /Users/eric/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.2ms)
21019
+
21020
+
21021
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-04-27 13:35:23 -0600
21022
+
21023
+
21024
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:35:23 -0600
21025
+
21026
+
21027
+ Started GET "/assets/clark_kent/application.js?body=1" for 127.0.0.1 at 2015-04-27 13:35:23 -0600