diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-21 15:25:51 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-21 15:25:51 -0800 |
commit | 81c3b0403d805a7562bee8fdd27b541c802ce0eb (patch) | |
tree | 7d302a20ac3ef273244a314eb8e5f44e76a5fcbb /activerecord | |
parent | fa8849a573aa98750fc5fdacf557d973b85072ca (diff) | |
parent | bf03ddc6365c8ea83647b5f315a34aa5c6b65df1 (diff) | |
download | rails-81c3b0403d805a7562bee8fdd27b541c802ce0eb.tar.gz rails-81c3b0403d805a7562bee8fdd27b541c802ce0eb.tar.bz2 rails-81c3b0403d805a7562bee8fdd27b541c802ce0eb.zip |
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activerecord')
-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] |