diff options
author | Cédric FABIANSKI <cfabianski@leadformance.com> | 2013-01-16 20:08:07 +0100 |
---|---|---|
committer | Cédric FABIANSKI <cfabianski@leadformance.com> | 2013-03-08 09:14:31 +0100 |
commit | 9f549212c3b6c8ae4684da61e03a04da9f341fad (patch) | |
tree | a2930754cbca8a8b6ac0bf5c0ac2828cb30c5c30 /activerecord/CHANGELOG.md | |
parent | b67043393b5ed6079989513299fe303ec3bc133b (diff) | |
download | rails-9f549212c3b6c8ae4684da61e03a04da9f341fad.tar.gz rails-9f549212c3b6c8ae4684da61e03a04da9f341fad.tar.bz2 rails-9f549212c3b6c8ae4684da61e03a04da9f341fad.zip |
Unprepared Visitor + unprepared_statement
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 3b140b9ec3..73c6cd5a98 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* + * Expand `#cache_key` to consult all relevant updated timestamps. Previously only `updated_at` column was checked, now it will |