Skip to content

Instantly share code, notes, and snippets.

View al2o3cr's full-sized avatar

Matt Jones al2o3cr

View GitHub Profile
@al2o3cr
al2o3cr / test_association.rb
Last active September 3, 2015 00:44
Issue found investigating rails/rails #21466
begin
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
end
gemfile(true) do
source 'https://rubygems.org'
# NOTE: test passes on 4.1.13, fails against 4.2.0+
@al2o3cr
al2o3cr / output-4.1.1.log
Created December 8, 2014 03:30
Test case for Rails #17015
Parent Load (0.1ms) SELECT "parents".* FROM "parents" WHERE "parents"."id" = ? LIMIT 1 [["id", 1]]
(0.0ms) begin transaction
SQL (0.0ms) INSERT INTO "students" DEFAULT VALUES
SQL (0.0ms) INSERT INTO "student_parents" ("parent_id", "student_id") VALUES (?, ?) [["parent_id", 1], ["student_id", 1]]
(0.0ms) commit transaction

Keybase proof

I hereby claim:

  • I am al2o3cr on github.
  • I am al2o3cr (https://keybase.io/al2o3cr) on keybase.
  • I have a public key whose fingerprint is 8BFF C530 4A5F 6C05 A195 B6BA 3DCB F07C 45C1 B4CE

To claim this, I am signing this object: