Skip to content

Instantly share code, notes, and snippets.

@cameronscott137
Created February 3, 2016 16:40
Show Gist options
  • Save cameronscott137/5d601b2e8d9a78f08805 to your computer and use it in GitHub Desktop.
Save cameronscott137/5d601b2e8d9a78f08805 to your computer and use it in GitHub Desktop.
goshadow timestudy console output
Started POST "/reports/149/import_note_data" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#import_note_data as */*
Parameters: {"segment_id"=>"605", "import_section"=>"Time Study", "id"=>"149"}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
WorkGroup Load (0.2ms) SELECT "work_groups".* FROM "work_groups" WHERE ("work_groups"."status" != 'Deleted') AND "work_groups"."id" = $1 LIMIT 1 [["id", 268]]
Event Load (0.2ms) SELECT "events".* FROM "events" WHERE ("events"."deleted" != 't') AND "events"."work_group_id" = $1 AND "events"."is_published" = 't' [["work_group_id", 268]]
Event Load (1.4ms) SELECT "events".* FROM "events" WHERE ("events"."deleted" != 't') AND "events"."id" = $1 LIMIT 1 [["id", 605]]
Note Load (0.3ms) SELECT "notes".* FROM "notes" WHERE ("notes"."deleted" != 't') AND "notes"."event_id" = $1 ORDER BY created_at ASC [["event_id", 605]]
Caregiver Load (0.2ms) SELECT "caregivers".* FROM "caregivers" WHERE "caregivers"."id" = $1 LIMIT 1 [["id", 0]]
TouchPoint Load (0.3ms) SELECT "touch_points".* FROM "touch_points" WHERE "touch_points"."id" = $1 LIMIT 1 [["id", 0]]
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.5ms)
NoMethodError (undefined method `store' for nil:NilClass):
app/models/report.rb:51:in `block in import_notes'
app/models/report.rb:47:in `import_notes'
app/controllers/reports_controller.rb:53:in `import_note_data'
config/initializers/quiet_assets.rb:7:in `call_with_quiet_assets'
Rendered /Users/cameronscott/.rvm/gems/ruby-2.2.2/gems/actionpack-4.1.11/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
Rendered /Users/cameronscott/.rvm/gems/ruby-2.2.2/gems/actionpack-4.1.11/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
Rendered /Users/cameronscott/.rvm/gems/ruby-2.2.2/gems/actionpack-4.1.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms)
Rendered /Users/cameronscott/.rvm/gems/ruby-2.2.2/gems/actionpack-4.1.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb (46.6ms)
Started GET "/report_comprehensive_report_segment/149" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#segment_comprehensive_report as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_comprehensive_report.html.erb (10.4ms)
Completed 200 OK in 24ms (Views: 19.2ms | ActiveRecord: 0.8ms)
Started GET "/report_opportunity_report_segment/149" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#segment_opportunity_report as HTML
Parameters: {"id"=>"149"}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_opportunity_report.html.erb (21.9ms)
Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 1.1ms)
Started GET "/report_observation_report_segment/149" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#segment_observation_report as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_observation_report.html.erb (8.8ms)
Completed 200 OK in 23ms (Views: 17.3ms | ActiveRecord: 0.9ms)
Started GET "/report_subjective_findings_segment/149" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#segment_subjective_findings as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_subjective_findings.html.erb (2.3ms)
Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.9ms)
Started GET "/report_time_study_segment/149" for 127.0.0.1 at 2016-02-03 11:34:41 -0500
Processing by ReportsController#segment_time_study as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_time_study.html.erb (0.9ms)
Completed 200 OK in 15ms (Views: 9.3ms | ActiveRecord: 0.9ms)
Started GET "/report_touchpoints_segment/149" for 127.0.0.1 at 2016-02-03 11:34:42 -0500
Processing by ReportsController#segment_touchpoints as HTML
Parameters: {"id"=>"149"}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.3ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_touchpoints.html.erb (29.7ms)
Completed 200 OK in 45ms (Views: 39.0ms | ActiveRecord: 1.1ms)
Started GET "/report_uploads_segment/149" for 127.0.0.1 at 2016-02-03 11:34:42 -0500
Processing by ReportsController#segment_uploads as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Attachment Load (0.3ms) SELECT "attachments".* FROM "attachments" WHERE "attachments"."deleted" = 'f' AND "attachments"."attachable_id" = $1 AND "attachments"."attachable_type" = $2 [["attachable_id", 149], ["attachable_type", "Report"]]
Rendered reports/segments/_uploads.html.erb (2.5ms)
Completed 200 OK in 17ms (Views: 11.5ms | ActiveRecord: 1.2ms)
Started GET "/report_watchers_segment/149" for 127.0.0.1 at 2016-02-03 11:34:42 -0500
Processing by ReportsController#segment_watchers as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.1ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_watchers.html.erb (7.1ms)
Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.8ms)
Started GET "/report_invites_segment/149" for 127.0.0.1 at 2016-02-03 11:34:42 -0500
Processing by ReportsController#segment_invites as HTML
Parameters: {"id"=>"149"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."status" != 'Deleted') AND "users"."id" = 22 ORDER BY "users"."id" ASC LIMIT 1
Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 2]]
Report Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT 1 [["id", 149]]
Rendered reports/segments/_invites.html.erb (7.4ms)
Completed 200 OK in 21ms (Views: 15.5ms | ActiveRecord: 0.8ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment