aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-08 10:38:10 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-08 10:38:10 +0000
commit554597d65781638094ff8552cb65eb802517e8ce (patch)
tree8813621cf4c1d69040c8e1edfee2104a9bce0e85 /activerecord/CHANGELOG
parent5662c7f19c38d9c857dc82e73429ef7938755c5f (diff)
downloadrails-554597d65781638094ff8552cb65eb802517e8ce.tar.gz
rails-554597d65781638094ff8552cb65eb802517e8ce.tar.bz2
rails-554597d65781638094ff8552cb65eb802517e8ce.zip
Added named bind-style variable interpolation #281 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@78 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index f4119046d5..ca16757ae7 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -21,6 +21,10 @@
* Fixed the Inflector to handle the movie/movies pair correctly #261 [Scott Baron]
+* Added named bind-style variable interpolation #281 [Michael Koziarski]. Example:
+
+ Person.find(["id = :id and first_name = :first_name", { :id => 5, :first_name = "bob' or 1=1" }])
+
* Added bind-style variable interpolation for the condition arrays that uses the adapter's quote method [Michael Koziarski]
Before: