diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-03-08 10:19:58 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-03-08 10:19:58 -0300 |
commit | 22f31214a01eb5ad39adf18ca3f7c53ae100f971 (patch) | |
tree | b6917abc0dae2016c3555866f42eaffd08b01d93 /activerecord/CHANGELOG.md | |
parent | de2815746873aaa9aee15e027adf605eb3b00d1d (diff) | |
parent | 9f549212c3b6c8ae4684da61e03a04da9f341fad (diff) | |
download | rails-22f31214a01eb5ad39adf18ca3f7c53ae100f971.tar.gz rails-22f31214a01eb5ad39adf18ca3f7c53ae100f971.tar.bz2 rails-22f31214a01eb5ad39adf18ca3f7c53ae100f971.zip |
Merge pull request #8966 from cfabianski/disable_prepared_statement_when_preparing_a_query
Unprepared Visitor + unprepared_statement
Conflicts:
activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index c5dd7b442f..4916ff4523 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,17 @@ ## Rails 4.0.0 (unreleased) ## +* Created block to by-pass the prepared statement bindings. + This will allow to compose fragments of large SQL statements to + avoid multiple round-trips between Ruby and the DB. + + Example: + + sql = Post.connection.unprepared_statement do + Post.first.comments.to_sql + end + + *Cédric Fabianski* + * Change the semantics of combining scopes to be the same as combining class methods which return scopes. For example: |