Skip to content

Instantly share code, notes, and snippets.

@will-in-wi
Created April 14, 2014 22:22
Show Gist options
  • Save will-in-wi/10686983 to your computer and use it in GitHub Desktop.
Save will-in-wi/10686983 to your computer and use it in GitHub Desktop.
Output from console for Rails bug
(0.1ms) begin transaction
SQL (0.6ms) INSERT INTO "wizards" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-04-14 22:18:36.904177"], ["name", "Merlin"], ["updated_at", "2014-04-14 22:18:36.904177"]]
SQL (0.2ms) INSERT INTO "dungeon_wizards" ("created_at", "dungeon_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-04-14 22:18:36.906145"], ["dungeon_id", 2], ["updated_at", "2014-04-14 22:18:36.906145"]]
SQL (0.2ms) UPDATE "dungeon_wizards" SET "updated_at" = ?, "wizard_id" = ? WHERE "dungeon_wizards"."id" = 1 [["updated_at", "2014-04-14 22:18:36.907402"], ["wizard_id", 1]]
(1.3ms) commit transaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment