diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-21 19:13:04 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-21 19:13:04 -0200 |
commit | b98c10c164ba6d17a84097f57ff529a95fec3935 (patch) | |
tree | b77a7d036f6c0b010d6eefe7baa3c85e5c480982 /activerecord/CHANGELOG.md | |
parent | a595fc1c56e5e9f4620bf5f248c87e9cb1e31b2f (diff) | |
parent | a2ed5d2381079716cf6224bc7b0538d318b264a2 (diff) | |
download | rails-b98c10c164ba6d17a84097f57ff529a95fec3935.tar.gz rails-b98c10c164ba6d17a84097f57ff529a95fec3935.tar.bz2 rails-b98c10c164ba6d17a84097f57ff529a95fec3935.zip |
Merge pull request #12588 from jetthoughts/12586_subquery_with_unprepared_sql
Inline bind values for sub-queries generated for Relation in where
Conflicts:
activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 97a42ca95b..adcec10fe8 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,12 @@ +* Sub-query generated for `Relation` passed as array condition did not take in account + bind values and have invalid syntax. + + Generate sub-query with inline bind values. + + Fixes: #12586 + + *Paul Nikitochkin* + * Fix a bug where rake db:structure:load crashed when the path contained spaces. @@ -8,9 +17,9 @@ Allows you to call `#unscope` on a relation with negative equality operators, i.e. `Arel::Nodes::NotIn` and `Arel::Nodes::NotEqual` that have been generated through the use of `where.not`. - + *Eric Hankins* - + * Raise an exception when model without primary key calls `.find_with_ids`. *Shimpei Makimoto* |