aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder/association.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-07-06 05:40:16 +0930
committerMatthew Draper <matthew@trebex.net>2014-07-06 05:49:07 +0930
commita4c26249b1e714e21127ddf26d735a23d52552d1 (patch)
tree47eb9da218e6653515348fff8c8ca1377d50d540 /activerecord/lib/active_record/associations/builder/association.rb
parent3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b (diff)
downloadrails-a4c26249b1e714e21127ddf26d735a23d52552d1.tar.gz
rails-a4c26249b1e714e21127ddf26d735a23d52552d1.tar.bz2
rails-a4c26249b1e714e21127ddf26d735a23d52552d1.zip
If our connection is explicitly non-strict, tell MySQL
We default to making the connection strict, but have historically relied on the MySQL default when we want it to be non-strict. On some (recent?) versions of MySQL, new connections default to being strict, so if we've been told 'strict:false', we're obliged to pass that on. This fixes a test failure that we've seen turn up on relatively-new development machines, so we do already have a test covering it.
Diffstat (limited to 'activerecord/lib/active_record/associations/builder/association.rb')
0 files changed, 0 insertions, 0 deletions