diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-06 17:05:20 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-06 17:05:20 -0700 |
commit | 9073400253a10c20866879008c55dc1a39dbb400 (patch) | |
tree | 6023c2164331105e8580ca8da4aec2ba27b123f2 /activerecord/CHANGELOG.md | |
parent | 2291d0be5c7bdebeaad1091ae13a5917ac6ba811 (diff) | |
parent | a6bc35c82cd58aac61608391f38fda4e034be0f7 (diff) | |
download | rails-9073400253a10c20866879008c55dc1a39dbb400.tar.gz rails-9073400253a10c20866879008c55dc1a39dbb400.tar.bz2 rails-9073400253a10c20866879008c55dc1a39dbb400.zip |
Merge pull request #10352 from zohlgren/fix_activerecord_sanitization_sanitize_sql_hash
Fix bug in ActiveRecord::Sanitization#sanitize_sql_hash_for_conditions
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 1304bcb7e4..a3c01bd03b 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* Fixed a bug in ActiveRecord#sanitize_sql_hash_for_conditions in which + `self.class` is an argument to PredicateBuilder#build_from_hash + causing PredicateBuilder to call non-existant method + Class#reflect_on_association. + + *Zach Ohlgren* + * While removing index if column option is missing then raise IrreversibleMigration exception. Following code should raise `IrreversibleMigration`. But the code was @@ -80,9 +87,9 @@ * Abort a rake task when missing db/structure.sql like `db:schema:load` task. *kennyj* - + * rake:db:test:prepare falls back to original environment after execution. - + *Slava Markevich* -Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activerecord/CHANGELOG.md) for previous changes. +Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activerecord/CHANGELOG.md) for previous changes.
\ No newline at end of file |