mr_common 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -2
  3. data/app/controllers/mr_common/registrations/export_controller.rb +4 -1
  4. data/app/models/concerns/mr_common/csv_exportable.rb +2 -11
  5. data/app/models/mr_common/csv_exporter.rb +35 -0
  6. data/app/models/mr_common/default_csv_export_adapter.rb +23 -0
  7. data/lib/mr_common/version.rb +1 -1
  8. data/spec/dummy/log/development.log +797 -0
  9. data/spec/dummy/log/test.log +704 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ba/bA8hAXQKANJzBTuQbpIP80FrF8klqsuYOtwuosQ4c5M.cache +0 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F2/F20HIwdY1_oIp6GrPRxocFAmMMtPNn05JWkUM0eiloY.cache +0 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LT/LTto-AZOGT_7LqZRJJlYVLaZXme34JlW6i5YO1-hrGU.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/m-gYrUz1942LmvKayV1K_Do9TtnA6UvVY_7yHHSxBTY.cache +0 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/pEFyHpYnSNZ7VFg7gEphAXtD136lqFr1bvNrjOVmGLw.cache +2 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PF/pfcazMoEPzIlvi6vy1SWeojc3_EkULHyrhNJIbgLTXg.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cg/Cg9p5LkxKD-IRPNf-k1yZ_HWd6ZX3JzR0yWQ985G0ZU.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f4/F4dxUCWat3Nq8_1jItIFx4nkOhrAiNFEtQDOTQXbbQI.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iD/IdsFsTMyyW-5MqmBEcAYJWX01RqeThhknBeeEHP_x3Y.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iD/iddALNcjHFMWIbupLvJ9nEWVgsAlQRi6N-dimttO4lU.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iI/iIBc8Ww_W04keUlRNdzPYMs398pQYMiqA8A7fh5g2hQ.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n0/N0766whV3_I5PD4CDMXdk9UJd5IHi129OMooZK4kGtU.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vP/Vp6TmwPplvA0CbnC7GxMNgD6E2vUKJsrefNNq-2cX48.cache +1 -0
  23. data/spec/dummy/tmp/pids/server.pid +1 -1
  24. metadata +30 -2
@@ -50611,3 +50611,800 @@ Processing by MrCommon::Registrations::RegistrationsController#index as HTML
50611
50611
  Completed 200 OK in 41ms (Views: 35.8ms | ActiveRecord: 0.7ms)
50612
50612
 
50613
50613
 
50614
+ Started GET "/common" for 127.0.0.1 at 2019-03-27 15:15:17 -0400
50615
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
50616
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50617
+ Processing by MrCommon::DashboardController#index as HTML
50618
+ User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
50619
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50620
+ Completed 401 Unauthorized in 92ms (ActiveRecord: 69.1ms)
50621
+
50622
+
50623
+ Started GET "/users/sign_in" for 127.0.0.1 at 2019-03-27 15:15:23 -0400
50624
+ Processing by Devise::SessionsController#new as HTML
50625
+ Rendering /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application
50626
+ Rendered /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.9ms)
50627
+ Rendered /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (16.5ms)
50628
+ Completed 200 OK in 630ms (Views: 627.4ms | ActiveRecord: 0.0ms)
50629
+
50630
+
50631
+ Started GET "/users/sign_up" for 127.0.0.1 at 2019-03-27 15:15:26 -0400
50632
+ Processing by Devise::RegistrationsController#new as HTML
50633
+ Rendering /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/registrations/new.html.erb within layouts/application
50634
+ Rendered /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.1ms)
50635
+ Rendered /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/devise-4.5.0/app/views/devise/registrations/new.html.erb within layouts/application (6.5ms)
50636
+ Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.0ms)
50637
+
50638
+
50639
+ Started POST "/users" for 127.0.0.1 at 2019-03-27 15:15:34 -0400
50640
+ Processing by Devise::RegistrationsController#create as HTML
50641
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"MdcjVx+582/2IQ6YMvxEkW/U9IGyEi0XzlntS9aupCmDlbSQQESY4EIgpWEt448kMEvDmrTBRiinX6RoH3VmDw==", "user"=>{"email"=>"cs@mreach.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
50642
+  (0.2ms) BEGIN
50643
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50644
+ User Exists (2.9ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2 [["email", "cs@mreach.com"], ["LIMIT", 1]]
50645
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50646
+ User Create (1.8ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "cs@mreach.com"], ["encrypted_password", "$2a$11$pO1USAWi0FArgh/csBcgfuOU2AVWhDX6XctVKwReFS/gp/eBXPQHu"], ["created_at", "2019-03-27 19:15:34.385905"], ["updated_at", "2019-03-27 19:15:34.385905"]]
50647
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50648
+  (0.8ms) COMMIT
50649
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50650
+ Redirected to http://localhost:3000/common/
50651
+ Completed 302 Found in 153ms (ActiveRecord: 5.8ms)
50652
+
50653
+
50654
+ Started GET "/common/" for 127.0.0.1 at 2019-03-27 15:15:34 -0400
50655
+ Processing by MrCommon::DashboardController#index as HTML
50656
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50657
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50658
+ Rendering /Users/cs/Projects/mr_common/app/views/mr_common/dashboard/index.html.erb within layouts/mr_common/layout
50659
+ Rendered /Users/cs/Projects/mr_common/app/views/mr_common/dashboard/index.html.erb within layouts/mr_common/layout (0.3ms)
50660
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_navigation.html.erb (1.0ms)
50661
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_flash.html.erb (0.5ms)
50662
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_footer.html.erb (0.2ms)
50663
+ Completed 200 OK in 55ms (Views: 48.9ms | ActiveRecord: 0.3ms)
50664
+
50665
+
50666
+ Started GET "/common/registrations" for 127.0.0.1 at 2019-03-27 15:15:36 -0400
50667
+ Processing by MrCommon::Registrations::RegistrationsController#index as HTML
50668
+ User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50669
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50670
+ Rendering /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout
50671
+ MrCommon::Registration Load (41.8ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations" ORDER BY "mr_common_registrations"."first_name" ASC, "mr_common_registrations"."last_name" ASC
50672
+ ↳ /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb:23
50673
+ Rendered /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout (81.6ms)
50674
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_navigation.html.erb (0.7ms)
50675
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_flash.html.erb (0.3ms)
50676
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_footer.html.erb (0.2ms)
50677
+ Completed 200 OK in 124ms (Views: 64.0ms | ActiveRecord: 50.5ms)
50678
+
50679
+
50680
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:15:37 -0400
50681
+ Processing by MrCommon::Registrations::ExportController#index as HTML
50682
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50683
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50684
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)
50685
+
50686
+
50687
+
50688
+ LoadError (Unable to autoload constant CSVExporter, expected /Users/cs/Projects/mr_common/app/models/csv_exporter.rb to define it):
50689
+
50690
+ activesupport (5.2.2) lib/active_support/dependencies.rb:511:in `load_missing_constant'
50691
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50692
+ activesupport (5.2.2) lib/active_support/dependencies.rb:542:in `load_missing_constant'
50693
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50694
+ activesupport (5.2.2) lib/active_support/dependencies.rb:542:in `load_missing_constant'
50695
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50696
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9:in `as_csv'
50697
+ /Users/cs/Projects/mr_common/app/controllers/mr_common/registrations/export_controller.rb:7:in `index'
50698
+ actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
50699
+ actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action'
50700
+ actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
50701
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
50702
+ activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks'
50703
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
50704
+ actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
50705
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
50706
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument'
50707
+ activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
50708
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument'
50709
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
50710
+ actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
50711
+ activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
50712
+ actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process'
50713
+ actionview (5.2.2) lib/action_view/rendering.rb:32:in `process'
50714
+ actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch'
50715
+ actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch'
50716
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
50717
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve'
50718
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50719
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50720
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50721
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50722
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
50723
+ railties (5.2.2) lib/rails/railtie.rb:190:in `public_send'
50724
+ railties (5.2.2) lib/rails/railtie.rb:190:in `method_missing'
50725
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
50726
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve'
50727
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50728
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50729
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50730
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50731
+ warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
50732
+ warden (1.2.7) lib/warden/manager.rb:35:in `catch'
50733
+ warden (1.2.7) lib/warden/manager.rb:35:in `call'
50734
+ rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call'
50735
+ rack (2.0.6) lib/rack/etag.rb:25:in `call'
50736
+ rack (2.0.6) lib/rack/conditional_get.rb:25:in `call'
50737
+ rack (2.0.6) lib/rack/head.rb:12:in `call'
50738
+ actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
50739
+ rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context'
50740
+ rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call'
50741
+ actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call'
50742
+ activerecord (5.2.2) lib/active_record/migration.rb:559:in `call'
50743
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
50744
+ activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
50745
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
50746
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
50747
+ actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
50748
+ actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
50749
+ railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
50750
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
50751
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
50752
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
50753
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
50754
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
50755
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
50756
+ actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
50757
+ actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
50758
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
50759
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
50760
+ activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
50761
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
50762
+ actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
50763
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
50764
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
50765
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
50766
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
50767
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
50768
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
50769
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:16:40 -0400
50770
+ Processing by MrCommon::Registrations::ExportController#index as HTML
50771
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50772
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50773
+ MrCommon::Registration Load (0.4ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
50774
+ ↳ /Users/cs/Projects/mr_common/app/models/csv_exporter.rb:15
50775
+ Rendering text template
50776
+ Rendered text template (0.0ms)
50777
+ Sent data Registrations-2019-03-27.csv (1.9ms)
50778
+ Completed 200 OK in 38ms (Views: 1.7ms | ActiveRecord: 9.0ms)
50779
+
50780
+
50781
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:18:28 -0400
50782
+ Processing by MrCommon::Registrations::ExportController#index as HTML
50783
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50784
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50785
+ MrCommon::Registration Load (0.3ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
50786
+ ↳ /Users/cs/Projects/mr_common/app/models/csv_exporter.rb:15
50787
+ Rendering text template
50788
+ Rendered text template (0.0ms)
50789
+ Sent data Registrations-2019-03-27.csv (0.7ms)
50790
+ Completed 200 OK in 33ms (Views: 0.6ms | ActiveRecord: 6.6ms)
50791
+
50792
+
50793
+ Started GET "/common/registrations/" for 127.0.0.1 at 2019-03-27 15:20:03 -0400
50794
+ Processing by MrCommon::Registrations::RegistrationsController#index as HTML
50795
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50796
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50797
+ Rendering /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout
50798
+ MrCommon::Registration Load (0.7ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations" ORDER BY "mr_common_registrations"."first_name" ASC, "mr_common_registrations"."last_name" ASC
50799
+ ↳ /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb:23
50800
+ Rendered /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout (8.0ms)
50801
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_navigation.html.erb (0.8ms)
50802
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_flash.html.erb (0.3ms)
50803
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_footer.html.erb (0.2ms)
50804
+ Completed 200 OK in 42ms (Views: 35.8ms | ActiveRecord: 1.0ms)
50805
+
50806
+
50807
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:41:31 -0400
50808
+ Processing by MrCommon::Registrations::ExportController#index as HTML
50809
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50810
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50811
+ Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.7ms)
50812
+
50813
+
50814
+
50815
+ SyntaxError (/Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9: syntax error, unexpected ')', expecting =>
50816
+ ...: adapter, format-format_rules).generate_csv
50817
+ ... ^):
50818
+
50819
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9: syntax error, unexpected ')', expecting =>
50820
+ ...: adapter, format-format_rules).generate_csv
50821
+ ... ^
50822
+ activesupport (5.2.2) lib/active_support/dependencies.rb:476:in `load'
50823
+ activesupport (5.2.2) lib/active_support/dependencies.rb:476:in `block in load_file'
50824
+ activesupport (5.2.2) lib/active_support/dependencies.rb:661:in `new_constants_in'
50825
+ activesupport (5.2.2) lib/active_support/dependencies.rb:475:in `load_file'
50826
+ activesupport (5.2.2) lib/active_support/dependencies.rb:373:in `block in require_or_load'
50827
+ activesupport (5.2.2) lib/active_support/dependencies.rb:37:in `block in load_interlock'
50828
+ activesupport (5.2.2) lib/active_support/dependencies/interlock.rb:14:in `block in loading'
50829
+ activesupport (5.2.2) lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
50830
+ activesupport (5.2.2) lib/active_support/dependencies/interlock.rb:13:in `loading'
50831
+ activesupport (5.2.2) lib/active_support/dependencies.rb:37:in `load_interlock'
50832
+ activesupport (5.2.2) lib/active_support/dependencies.rb:356:in `require_or_load'
50833
+ activesupport (5.2.2) lib/active_support/dependencies.rb:510:in `load_missing_constant'
50834
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50835
+ /Users/cs/Projects/mr_common/app/models/mr_common/registration.rb:7:in `<class:Registration>'
50836
+ /Users/cs/Projects/mr_common/app/models/mr_common/registration.rb:6:in `<module:MrCommon>'
50837
+ /Users/cs/Projects/mr_common/app/models/mr_common/registration.rb:5:in `<top (required)>'
50838
+ activesupport (5.2.2) lib/active_support/dependencies.rb:476:in `load'
50839
+ activesupport (5.2.2) lib/active_support/dependencies.rb:476:in `block in load_file'
50840
+ activesupport (5.2.2) lib/active_support/dependencies.rb:661:in `new_constants_in'
50841
+ activesupport (5.2.2) lib/active_support/dependencies.rb:475:in `load_file'
50842
+ activesupport (5.2.2) lib/active_support/dependencies.rb:373:in `block in require_or_load'
50843
+ activesupport (5.2.2) lib/active_support/dependencies.rb:37:in `block in load_interlock'
50844
+ activesupport (5.2.2) lib/active_support/dependencies/interlock.rb:14:in `block in loading'
50845
+ activesupport (5.2.2) lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
50846
+ activesupport (5.2.2) lib/active_support/dependencies/interlock.rb:13:in `loading'
50847
+ activesupport (5.2.2) lib/active_support/dependencies.rb:37:in `load_interlock'
50848
+ activesupport (5.2.2) lib/active_support/dependencies.rb:356:in `require_or_load'
50849
+ activesupport (5.2.2) lib/active_support/dependencies.rb:510:in `load_missing_constant'
50850
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50851
+ activesupport (5.2.2) lib/active_support/dependencies.rb:542:in `load_missing_constant'
50852
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50853
+ activesupport (5.2.2) lib/active_support/dependencies.rb:542:in `load_missing_constant'
50854
+ activesupport (5.2.2) lib/active_support/dependencies.rb:195:in `const_missing'
50855
+ /Users/cs/Projects/mr_common/app/controllers/mr_common/registrations/export_controller.rb:7:in `index'
50856
+ actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
50857
+ actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action'
50858
+ actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
50859
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
50860
+ activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks'
50861
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
50862
+ actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
50863
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
50864
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument'
50865
+ activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
50866
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument'
50867
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
50868
+ actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
50869
+ activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
50870
+ actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process'
50871
+ actionview (5.2.2) lib/action_view/rendering.rb:32:in `process'
50872
+ actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch'
50873
+ actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch'
50874
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
50875
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve'
50876
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50877
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50878
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50879
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50880
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
50881
+ railties (5.2.2) lib/rails/railtie.rb:190:in `public_send'
50882
+ railties (5.2.2) lib/rails/railtie.rb:190:in `method_missing'
50883
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
50884
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve'
50885
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50886
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50887
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50888
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50889
+ warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
50890
+ warden (1.2.7) lib/warden/manager.rb:35:in `catch'
50891
+ warden (1.2.7) lib/warden/manager.rb:35:in `call'
50892
+ rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call'
50893
+ rack (2.0.6) lib/rack/etag.rb:25:in `call'
50894
+ rack (2.0.6) lib/rack/conditional_get.rb:25:in `call'
50895
+ rack (2.0.6) lib/rack/head.rb:12:in `call'
50896
+ actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
50897
+ rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context'
50898
+ rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call'
50899
+ actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call'
50900
+ activerecord (5.2.2) lib/active_record/migration.rb:559:in `call'
50901
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
50902
+ activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
50903
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
50904
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
50905
+ actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
50906
+ actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
50907
+ railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
50908
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
50909
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
50910
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
50911
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
50912
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
50913
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
50914
+ actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
50915
+ actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
50916
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
50917
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
50918
+ activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
50919
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
50920
+ actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
50921
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
50922
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
50923
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
50924
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
50925
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
50926
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
50927
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:42:00 -0400
50928
+ Processing by MrCommon::Registrations::ExportController#index as HTML
50929
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
50930
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
50931
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.3ms)
50932
+
50933
+
50934
+
50935
+ ArgumentError (unknown keyword: format_rules):
50936
+
50937
+ /Users/cs/Projects/mr_common/app/models/csv_exporter.rb:6:in `initialize'
50938
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9:in `new'
50939
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9:in `as_csv'
50940
+ /Users/cs/Projects/mr_common/app/controllers/mr_common/registrations/export_controller.rb:7:in `index'
50941
+ actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
50942
+ actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action'
50943
+ actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
50944
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
50945
+ activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks'
50946
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
50947
+ actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
50948
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
50949
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument'
50950
+ activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
50951
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument'
50952
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
50953
+ actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
50954
+ activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
50955
+ actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process'
50956
+ actionview (5.2.2) lib/action_view/rendering.rb:32:in `process'
50957
+ actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch'
50958
+ actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch'
50959
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
50960
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve'
50961
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50962
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50963
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50964
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50965
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
50966
+ railties (5.2.2) lib/rails/railtie.rb:190:in `public_send'
50967
+ railties (5.2.2) lib/rails/railtie.rb:190:in `method_missing'
50968
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
50969
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve'
50970
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
50971
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
50972
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
50973
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
50974
+ warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
50975
+ warden (1.2.7) lib/warden/manager.rb:35:in `catch'
50976
+ warden (1.2.7) lib/warden/manager.rb:35:in `call'
50977
+ rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call'
50978
+ rack (2.0.6) lib/rack/etag.rb:25:in `call'
50979
+ rack (2.0.6) lib/rack/conditional_get.rb:25:in `call'
50980
+ rack (2.0.6) lib/rack/head.rb:12:in `call'
50981
+ actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
50982
+ rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context'
50983
+ rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call'
50984
+ actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call'
50985
+ activerecord (5.2.2) lib/active_record/migration.rb:559:in `call'
50986
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
50987
+ activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
50988
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
50989
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
50990
+ actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
50991
+ actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
50992
+ railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
50993
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
50994
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
50995
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
50996
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
50997
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
50998
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
50999
+ actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
51000
+ actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
51001
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
51002
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
51003
+ activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
51004
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
51005
+ actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
51006
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
51007
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
51008
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
51009
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
51010
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
51011
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
51012
+ Started GET "/common/registrations" for 127.0.0.1 at 2019-03-27 15:42:45 -0400
51013
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51014
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51015
+ Processing by MrCommon::Registrations::RegistrationsController#index as HTML
51016
+ User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51017
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51018
+ Rendering /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout
51019
+ MrCommon::Registration Load (0.7ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations" ORDER BY "mr_common_registrations"."first_name" ASC, "mr_common_registrations"."last_name" ASC
51020
+ ↳ /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb:23
51021
+ Rendered /Users/cs/Projects/mr_common/app/views/mr_common/registrations/registrations/index.html.erb within layouts/mr_common/layout (20.8ms)
51022
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_navigation.html.erb (2.1ms)
51023
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_flash.html.erb (0.5ms)
51024
+ Rendered /Users/cs/Projects/mr_common/app/views/layouts/mr_common/_footer.html.erb (0.3ms)
51025
+ Completed 200 OK in 399ms (Views: 366.0ms | ActiveRecord: 7.8ms)
51026
+
51027
+
51028
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:42:50 -0400
51029
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51030
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51031
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51032
+ MrCommon::Registration Load (0.3ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51033
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51034
+ Rendering text template
51035
+ Rendered text template (0.0ms)
51036
+ Sent data Registrations-2019-03-27.csv (1.0ms)
51037
+ Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.7ms)
51038
+
51039
+
51040
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:43:10 -0400
51041
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51042
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51043
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51044
+ MrCommon::Registration Load (0.4ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51045
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51046
+ Rendering text template
51047
+ Rendered text template (0.0ms)
51048
+ Sent data Registrations-2019-03-27.csv (0.4ms)
51049
+ Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.8ms)
51050
+
51051
+
51052
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:43:13 -0400
51053
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51054
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51055
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51056
+ MrCommon::Registration Load (0.3ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51057
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51058
+ Rendering text template
51059
+ Rendered text template (0.0ms)
51060
+ Sent data Registrations-2019-03-27.csv (0.4ms)
51061
+ Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.8ms)
51062
+
51063
+
51064
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:49:01 -0400
51065
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51066
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51067
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51068
+ MrCommon::Registration Load (0.4ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51069
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51070
+ Completed 500 Internal Server Error in 34ms (ActiveRecord: 9.3ms)
51071
+
51072
+
51073
+
51074
+ NameError (undefined local variable or method `headers' for #<MrCommon::CSVExporter:0x00007fe96a948a30>):
51075
+
51076
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:28:in `block in format_row'
51077
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:27:in `each'
51078
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:27:in `format_row'
51079
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:21:in `block (2 levels) in generate_csv'
51080
+ activerecord (5.2.2) lib/active_record/relation/delegation.rb:71:in `each'
51081
+ activerecord (5.2.2) lib/active_record/relation/delegation.rb:71:in `each'
51082
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19:in `block in generate_csv'
51083
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/csv.rb:1175:in `generate'
51084
+ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:16:in `generate_csv'
51085
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:9:in `as_csv'
51086
+ /Users/cs/Projects/mr_common/app/controllers/mr_common/registrations/export_controller.rb:7:in `index'
51087
+ actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
51088
+ actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action'
51089
+ actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
51090
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
51091
+ activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks'
51092
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
51093
+ actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
51094
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
51095
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument'
51096
+ activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
51097
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument'
51098
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
51099
+ actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
51100
+ activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
51101
+ actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process'
51102
+ actionview (5.2.2) lib/action_view/rendering.rb:32:in `process'
51103
+ actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch'
51104
+ actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch'
51105
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
51106
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve'
51107
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
51108
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
51109
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
51110
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
51111
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
51112
+ railties (5.2.2) lib/rails/railtie.rb:190:in `public_send'
51113
+ railties (5.2.2) lib/rails/railtie.rb:190:in `method_missing'
51114
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
51115
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve'
51116
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
51117
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
51118
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
51119
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
51120
+ warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
51121
+ warden (1.2.7) lib/warden/manager.rb:35:in `catch'
51122
+ warden (1.2.7) lib/warden/manager.rb:35:in `call'
51123
+ rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call'
51124
+ rack (2.0.6) lib/rack/etag.rb:25:in `call'
51125
+ rack (2.0.6) lib/rack/conditional_get.rb:25:in `call'
51126
+ rack (2.0.6) lib/rack/head.rb:12:in `call'
51127
+ actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
51128
+ rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context'
51129
+ rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call'
51130
+ actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call'
51131
+ activerecord (5.2.2) lib/active_record/migration.rb:559:in `call'
51132
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
51133
+ activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
51134
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
51135
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
51136
+ actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
51137
+ actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
51138
+ railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
51139
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
51140
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
51141
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
51142
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
51143
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
51144
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
51145
+ actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
51146
+ actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
51147
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
51148
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
51149
+ activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
51150
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
51151
+ actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
51152
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
51153
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
51154
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
51155
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
51156
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
51157
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
51158
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 15:49:25 -0400
51159
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51160
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51161
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51162
+ MrCommon::Registration Load (0.3ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51163
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51164
+ Rendering text template
51165
+ Rendered text template (0.0ms)
51166
+ Sent data Registrations-2019-03-27.csv (0.7ms)
51167
+ Completed 200 OK in 33ms (Views: 0.5ms | ActiveRecord: 6.1ms)
51168
+
51169
+
51170
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51171
+ ↳ bin/rails:25
51172
+  (3.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51173
+ ↳ bin/rails:25
51174
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51175
+ ↳ bin/rails:25
51176
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51177
+ ↳ bin/rails:25
51178
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51179
+ ↳ bin/rails:25
51180
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51181
+ ↳ bin/rails:25
51182
+  (211.7ms) DROP DATABASE IF EXISTS "dummy_test"
51183
+ ↳ bin/rails:25
51184
+  (489.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
51185
+ ↳ bin/rails:25
51186
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
51187
+ ↳ db/schema.rb:17
51188
+  (0.2ms) DROP TABLE IF EXISTS "mr_common_registrations" CASCADE
51189
+ ↳ db/schema.rb:19
51190
+  (6.1ms) CREATE TABLE "mr_common_registrations" ("id" bigserial primary key, "first_name" character varying DEFAULT '' NOT NULL, "last_name" character varying DEFAULT '' NOT NULL, "email" character varying DEFAULT '' NOT NULL, "company_name" character varying DEFAULT '' NOT NULL, "telephone" character varying DEFAULT '' NOT NULL, "job_title" character varying DEFAULT '' NOT NULL, "contact_via_email" boolean DEFAULT FALSE NOT NULL, "contact_via_phone" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51191
+ ↳ db/schema.rb:19
51192
+  (0.3ms) DROP TABLE IF EXISTS "mr_common_reminders" CASCADE
51193
+ ↳ db/schema.rb:32
51194
+  (2.7ms) CREATE TABLE "mr_common_reminders" ("id" bigserial primary key, "start_time" timestamp NOT NULL, "end_time" timestamp NOT NULL, "location" character varying DEFAULT '' NOT NULL, "summary" character varying DEFAULT '' NOT NULL, "description" text DEFAULT '' NOT NULL, "slug" character varying DEFAULT '' NOT NULL, "all_day" boolean DEFAULT FALSE NOT NULL, "time_zone" character varying DEFAULT 'Etc/UTC' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "include_in_confirmation_mailer" boolean DEFAULT FALSE NOT NULL)
51195
+ ↳ db/schema.rb:32
51196
+  (1.1ms) CREATE UNIQUE INDEX "index_reminders_on_slug" ON "mr_common_reminders" ("slug")
51197
+ ↳ db/schema.rb:32
51198
+  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE
51199
+ ↳ db/schema.rb:47
51200
+  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51201
+ ↳ db/schema.rb:47
51202
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
51203
+ ↳ db/schema.rb:47
51204
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
51205
+ ↳ db/schema.rb:47
51206
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
51207
+ ↳ db/schema.rb:15
51208
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51209
+ ↳ db/schema.rb:15
51210
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190124160301)
51211
+ ↳ db/schema.rb:15
51212
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
51213
+ (20190115195607),
51214
+ (20190110202347),
51215
+ (20190122185500);
51216
+
51217
+ 
51218
+ ↳ db/schema.rb:15
51219
+  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51220
+ ↳ db/schema.rb:15
51221
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
51222
+ ↳ db/schema.rb:15
51223
+  (0.1ms) BEGIN
51224
+ ↳ db/schema.rb:15
51225
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-03-27 20:03:23.498178"], ["updated_at", "2019-03-27 20:03:23.498178"]]
51226
+ ↳ db/schema.rb:15
51227
+  (0.3ms) COMMIT
51228
+ ↳ db/schema.rb:15
51229
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
51230
+ ↳ bin/rails:25
51231
+  (0.2ms) BEGIN
51232
+ ↳ bin/rails:25
51233
+ ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-03-27 20:03:23.502369"], ["key", "environment"]]
51234
+ ↳ bin/rails:25
51235
+  (0.3ms) COMMIT
51236
+ ↳ bin/rails:25
51237
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 16:28:04 -0400
51238
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51239
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51240
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51241
+ Completed 500 Internal Server Error in 25ms (ActiveRecord: 6.8ms)
51242
+
51243
+
51244
+
51245
+ ArgumentError (unknown keyword: filename):
51246
+
51247
+ /Users/cs/Projects/mr_common/app/models/concerns/mr_common/csv_exportable.rb:8:in `as_csv'
51248
+ /Users/cs/Projects/mr_common/app/controllers/mr_common/registrations/export_controller.rb:8:in `index'
51249
+ actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
51250
+ actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action'
51251
+ actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
51252
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
51253
+ activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks'
51254
+ actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
51255
+ actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
51256
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
51257
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument'
51258
+ activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
51259
+ activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument'
51260
+ actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
51261
+ actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
51262
+ activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
51263
+ actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process'
51264
+ actionview (5.2.2) lib/action_view/rendering.rb:32:in `process'
51265
+ actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch'
51266
+ actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch'
51267
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
51268
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve'
51269
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
51270
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
51271
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
51272
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
51273
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
51274
+ railties (5.2.2) lib/rails/railtie.rb:190:in `public_send'
51275
+ railties (5.2.2) lib/rails/railtie.rb:190:in `method_missing'
51276
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
51277
+ actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve'
51278
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve'
51279
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each'
51280
+ actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve'
51281
+ actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call'
51282
+ warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
51283
+ warden (1.2.7) lib/warden/manager.rb:35:in `catch'
51284
+ warden (1.2.7) lib/warden/manager.rb:35:in `call'
51285
+ rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call'
51286
+ rack (2.0.6) lib/rack/etag.rb:25:in `call'
51287
+ rack (2.0.6) lib/rack/conditional_get.rb:25:in `call'
51288
+ rack (2.0.6) lib/rack/head.rb:12:in `call'
51289
+ actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
51290
+ rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context'
51291
+ rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call'
51292
+ actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call'
51293
+ activerecord (5.2.2) lib/active_record/migration.rb:559:in `call'
51294
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
51295
+ activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
51296
+ actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
51297
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
51298
+ actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
51299
+ actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
51300
+ railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app'
51301
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call'
51302
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged'
51303
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged'
51304
+ activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged'
51305
+ railties (5.2.2) lib/rails/rack/logger.rb:26:in `call'
51306
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
51307
+ actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
51308
+ actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call'
51309
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
51310
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
51311
+ activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
51312
+ actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
51313
+ actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call'
51314
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
51315
+ railties (5.2.2) lib/rails/engine.rb:524:in `call'
51316
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
51317
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
51318
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
51319
+ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
51320
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 16:28:33 -0400
51321
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51322
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51323
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51324
+ MrCommon::Registration Load (3.4ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51325
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51326
+ Rendering text template
51327
+ Rendered text template (0.0ms)
51328
+ Sent data Registrations-2019-03-27.csv (0.6ms)
51329
+ Completed 200 OK in 46ms (Views: 0.5ms | ActiveRecord: 9.6ms)
51330
+
51331
+
51332
+ Started GET "/common/registrations/export" for 127.0.0.1 at 2019-03-27 16:30:41 -0400
51333
+ Processing by MrCommon::Registrations::ExportController#index as HTML
51334
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]]
51335
+ ↳ /Users/cs/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
51336
+ MrCommon::Registration Load (0.3ms) SELECT "mr_common_registrations".* FROM "mr_common_registrations"
51337
+ ↳ /Users/cs/Projects/mr_common/app/models/mr_common/csv_exporter.rb:19
51338
+ Rendering text template
51339
+ Rendered text template (0.0ms)
51340
+ Sent data Registrations-2019-03-27.csv (0.9ms)
51341
+ Completed 200 OK in 47ms (Views: 0.7ms | ActiveRecord: 6.4ms)
51342
+
51343
+
51344
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51345
+ ↳ bin/rails:25
51346
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51347
+ ↳ bin/rails:25
51348
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51349
+ ↳ bin/rails:25
51350
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51351
+ ↳ bin/rails:25
51352
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51353
+ ↳ bin/rails:25
51354
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
51355
+ ↳ bin/rails:25
51356
+  (212.3ms) DROP DATABASE IF EXISTS "dummy_test"
51357
+ ↳ bin/rails:25
51358
+  (500.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
51359
+ ↳ bin/rails:25
51360
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
51361
+ ↳ db/schema.rb:17
51362
+  (0.2ms) DROP TABLE IF EXISTS "mr_common_registrations" CASCADE
51363
+ ↳ db/schema.rb:19
51364
+  (7.9ms) CREATE TABLE "mr_common_registrations" ("id" bigserial primary key, "first_name" character varying DEFAULT '' NOT NULL, "last_name" character varying DEFAULT '' NOT NULL, "email" character varying DEFAULT '' NOT NULL, "company_name" character varying DEFAULT '' NOT NULL, "telephone" character varying DEFAULT '' NOT NULL, "job_title" character varying DEFAULT '' NOT NULL, "contact_via_email" boolean DEFAULT FALSE NOT NULL, "contact_via_phone" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51365
+ ↳ db/schema.rb:19
51366
+  (0.3ms) DROP TABLE IF EXISTS "mr_common_reminders" CASCADE
51367
+ ↳ db/schema.rb:32
51368
+  (3.0ms) CREATE TABLE "mr_common_reminders" ("id" bigserial primary key, "start_time" timestamp NOT NULL, "end_time" timestamp NOT NULL, "location" character varying DEFAULT '' NOT NULL, "summary" character varying DEFAULT '' NOT NULL, "description" text DEFAULT '' NOT NULL, "slug" character varying DEFAULT '' NOT NULL, "all_day" boolean DEFAULT FALSE NOT NULL, "time_zone" character varying DEFAULT 'Etc/UTC' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "include_in_confirmation_mailer" boolean DEFAULT FALSE NOT NULL)
51369
+ ↳ db/schema.rb:32
51370
+  (1.6ms) CREATE UNIQUE INDEX "index_reminders_on_slug" ON "mr_common_reminders" ("slug")
51371
+ ↳ db/schema.rb:32
51372
+  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE
51373
+ ↳ db/schema.rb:47
51374
+  (4.3ms) CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51375
+ ↳ db/schema.rb:47
51376
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
51377
+ ↳ db/schema.rb:47
51378
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
51379
+ ↳ db/schema.rb:47
51380
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
51381
+ ↳ db/schema.rb:15
51382
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
51383
+ ↳ db/schema.rb:15
51384
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190124160301)
51385
+ ↳ db/schema.rb:15
51386
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
51387
+ (20190115195607),
51388
+ (20190110202347),
51389
+ (20190122185500);
51390
+
51391
+ 
51392
+ ↳ db/schema.rb:15
51393
+  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51394
+ ↳ db/schema.rb:15
51395
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
51396
+ ↳ db/schema.rb:15
51397
+  (0.2ms) BEGIN
51398
+ ↳ db/schema.rb:15
51399
+ ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-03-27 20:31:59.440051"], ["updated_at", "2019-03-27 20:31:59.440051"]]
51400
+ ↳ db/schema.rb:15
51401
+  (0.3ms) COMMIT
51402
+ ↳ db/schema.rb:15
51403
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
51404
+ ↳ bin/rails:25
51405
+  (0.2ms) BEGIN
51406
+ ↳ bin/rails:25
51407
+ ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2019-03-27 20:31:59.444957"], ["key", "environment"]]
51408
+ ↳ bin/rails:25
51409
+  (0.3ms) COMMIT
51410
+ ↳ bin/rails:25