diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-21 13:18:11 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-21 13:18:11 -0800 |
commit | bf03ddc6365c8ea83647b5f315a34aa5c6b65df1 (patch) | |
tree | ea5b347ad727e614de5ade72943248ca43c22f3f | |
parent | f09ad263cabe2e781c1994b85375fee8deba4317 (diff) | |
download | rails-bf03ddc6365c8ea83647b5f315a34aa5c6b65df1.tar.gz rails-bf03ddc6365c8ea83647b5f315a34aa5c6b65df1.tar.bz2 rails-bf03ddc6365c8ea83647b5f315a34aa5c6b65df1.zip |
Missed changelog entry for :inverse_of
-rw-r--r-- | activerecord/CHANGELOG | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 1f7a95a53a..be4d197f99 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,12 @@ *Edge* +* Association inverses for belongs_to, has_one, and has_many. Optimization to reduce database queries. #3533 [Murray Steele] + + # post.comments sets each comment's post without needing to :include + class Post < ActiveRecord::Base + has_many :comments, :inverse_of => :post + end + * MySQL: add_ and change_column support positioning. #3286 [Ben Marini] * Reset your Active Record counter caches with the reset_counter_cache class method. #1211 [Mike Breen, Gabe da Silveira] |