Skip to content

Instantly share code, notes, and snippets.

@ConnorRigby
Created November 28, 2016 21:07
Show Gist options
  • Save ConnorRigby/9786abadb953591e325e12ac0c6d1c93 to your computer and use it in GitHub Desktop.
Save ConnorRigby/9786abadb953591e325e12ac0c6d1c93 to your computer and use it in GitHub Desktop.
Started GET "/api/sync/" for 192.168.29.167 at 2016-11-28 13:06:32 -0800
Processing by Api::SyncsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "[email protected]"], ["LIMIT", 1]]
(0.1ms) begin transaction
SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-11-28 21:06:32 UTC], ["last_sign_in_at", 2016-11-28 21:06:06 UTC], ["sign_in_count", 4], ["updated_at", 2016-11-28 21:06:32 UTC], ["id", 3]]
(10.0ms) commit transaction
Device Load (0.1ms) SELECT "devices".* FROM "devices" WHERE "devices"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
(0.1ms) SELECT "regimens"."id" FROM "regimens" WHERE "regimens"."device_id" = ? [["device_id", 3]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."device_id" = ? [["device_id", 3]]
Sequence Load (0.1ms) SELECT "sequences".* FROM "sequences" WHERE "sequences"."device_id" = ? [["device_id", 3]]
Regimen Load (0.1ms) SELECT "regimens".* FROM "regimens" WHERE "regimens"."device_id" = ? [["device_id", 3]]
Started GET "/api/regimens/" for 192.168.29.167 at 2016-11-28 13:06:32 -0800
Peripheral Load (0.0ms) SELECT "peripherals".* FROM "peripherals" WHERE "peripherals"."device_id" = ? [["device_id", 3]]
Processing by Api::RegimensController#index as HTML
RegimenItem Load (0.1ms) SELECT "regimen_items".* FROM "regimen_items" WHERE 1=0
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "[email protected]"], ["LIMIT", 1]]
Plant Load (0.1ms) SELECT "plants".* FROM "plants" WHERE "plants"."device_id" = ? [["device_id", 3]]
(0.0ms) begin transaction
Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 11.0ms)
SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-11-28 21:06:32 UTC], ["last_sign_in_at", 2016-11-28 21:06:32 UTC], ["sign_in_count", 5], ["updated_at", 2016-11-28 21:06:32 UTC], ["id", 3]]
(12.2ms) commit transaction
NoMethodError (u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment