aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-12-27 16:14:04 +0530
committerPratik Naik <pratiknaik@gmail.com>2009-12-27 16:15:29 +0530
commitd92c4a84023bc0c8dd75869c9b4d5e50277f4650 (patch)
tree8d2bee87318b36b2ea5ac7492dd38a663715e398 /activerecord/CHANGELOG
parent81608cf8fa61973d65f24efbc4ae4931016888e7 (diff)
downloadrails-d92c4a84023bc0c8dd75869c9b4d5e50277f4650.tar.gz
rails-d92c4a84023bc0c8dd75869c9b4d5e50277f4650.tar.bz2
rails-d92c4a84023bc0c8dd75869c9b4d5e50277f4650.zip
Add find(ids) to relations
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index df221a1ad0..a2c5528860 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,11 @@
*Edge*
+* Add find(ids) to relations. [Pratik Naik]
+
+ old_users = User.order("age DESC")
+ old_users.find(1)
+ old_users.find(1, 2, 3)
+
* Add new finder methods to association collection. [Pratik Naik]
class User < ActiveRecord::Base