diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-12-13 00:39:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-12-13 00:39:51 +0000 |
commit | e5d9ad3e2903597e708fcb3ad76f08b4a600d82d (patch) | |
tree | c677481cd60c2af38655fbcb5d6d71efd9cf126e /activerecord/CHANGELOG | |
parent | f7e39c4ec78e81c4336a1ef470f3ff0a2430fc7a (diff) | |
download | rails-e5d9ad3e2903597e708fcb3ad76f08b4a600d82d.tar.gz rails-e5d9ad3e2903597e708fcb3ad76f08b4a600d82d.tar.bz2 rails-e5d9ad3e2903597e708fcb3ad76f08b4a600d82d.zip |
Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [DHH] Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [DHH]
Added form_remote_for (form_for meets form_remote_tag) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 394d9ddf1e..1ffb8480cb 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,17 @@ *SVN* +* Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [DHH]. Example: + + class Post + has_many :recent_comments, :class_name => "Comment", :limit => 10, :include => :author + end + + post.recent_comments.find(:all) # Uses LIMIT 10 and includes authors + post.recent_comments.find(:all, :limit => nil) # Uses no limit but include authors + post.recent_comments.find(:all, :limit => nil, :include => nil) # Uses no limit and doesn't include authors + +* Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [DHH] + * MySQL: fixes for the bundled mysql.rb driver. #3160 [Justin Forder] * SQLServer: fix obscure optimistic locking bug. #3068 [kajism@yahoo.com] |