diff options
author | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2014-04-29 01:39:47 +0300 |
---|---|---|
committer | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2014-04-30 22:56:27 +0300 |
commit | 7e8b06282354da82518f96e0aab38f04788237fa (patch) | |
tree | dbfffe78014f2a4ec5baa17b98c5a09d6b2f5795 /activerecord/CHANGELOG.md | |
parent | fd924371126a50789d31582b9efa074fd47a803e (diff) | |
download | rails-7e8b06282354da82518f96e0aab38f04788237fa.tar.gz rails-7e8b06282354da82518f96e0aab38f04788237fa.tar.bz2 rails-7e8b06282354da82518f96e0aab38f04788237fa.zip |
Stringify variables names for mysql connections
For mysql2/mysql adapters, `sql_mode` variable name set in `database.yml`
as string, was ignored and `sql_mode` was set to use strict mode.
Fixes #14895
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 17b71199aa..61f14e33d8 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,12 @@ +* Stringify all variables keys of mysql connection configuration. + + When `sql_mode` variable for mysql adapters set in configuration as `String` + was ignored and overwritten by strict mode option. + + Fixes #14895 + + *Paul Nikitochkin* + * When using a custom `join_table` name on a `habtm`, rails was not saving it on Reflections. This causes a problem when rails loads fixtures, because it uses the reflections to set database with fixtures. |