From 5f77f64e924e0e40f5f141dd38df5d54335b7a46 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 2 May 2005 05:34:27 +0000 Subject: Added option for passing an array to the find_all version of the dynamic finders and have it evaluated as an IN fragment git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activerecord/CHANGELOG') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 26e2981dd3..56ec6c80be 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,10 @@ *SVN* +* Added option for passing an array to the find_all version of the dynamic finders and have it evaluated as an IN fragment. Example: + + # SELECT * FROM topics WHERE title IN ('First', 'Second') + Topic.find_all_by_title(["First", "Second"]) + * Added compatibility with camelCase column names for dynamic finders #533 [Dee.Zsombor] * Fixed extraneous comma in count() function that made it not work with joins #1156 [jarkko/Dee.Zsombor] -- cgit v1.2.3