diff options
author | Michael Pearson <mipearson@gmail.com> | 2012-05-05 17:23:13 +1000 |
---|---|---|
committer | Michael Pearson <mipearson@gmail.com> | 2012-05-05 18:53:46 +1000 |
commit | 2054a17dd8e8be74b906a211d217e3183e2f40d6 (patch) | |
tree | ded470f269a52cb589400f056b931986fe609e36 | |
parent | 7c4d3311332d8d6718f29c0f275325ef999d4734 (diff) | |
download | rails-2054a17dd8e8be74b906a211d217e3183e2f40d6.tar.gz rails-2054a17dd8e8be74b906a211d217e3183e2f40d6.tar.bz2 rails-2054a17dd8e8be74b906a211d217e3183e2f40d6.zip |
Changelog entry regarding mysql(2) STRICT_ALL_TABLES
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a661a44f1f..31886c8212 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* `mysql` and `mysql2` connections will set `SQL_MODE=STRICT_ALL_TABLES` by + default to avoid silent data loss. This can be disabled by specifying + `strict: false` in your `database.yml`. + + *Michael Pearson* + * Added default order to `first` to assure consistent results among diferent database engines. Introduced `take` as a replacement to the old behavior of `first`. |