aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJosh Susser <josh@hasmanythrough.com>2011-11-27 14:12:46 -0800
committerJosh Susser <josh@hasmanythrough.com>2011-11-27 14:12:46 -0800
commit10834e975a54b63a07896cb8a6a16c336e20a792 (patch)
tree1c6011922f4745e85c69de565fe6cec7e8137f81 /activerecord/CHANGELOG.md
parent61bcc318c865289d215e8e19618b9414bd07d1e8 (diff)
downloadrails-10834e975a54b63a07896cb8a6a16c336e20a792.tar.gz
rails-10834e975a54b63a07896cb8a6a16c336e20a792.tar.bz2
rails-10834e975a54b63a07896cb8a6a16c336e20a792.zip
changelog & docs for GeneratedFeatureMethods
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 65578c1dc9..dc8b600ec6 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 3.2.0 (unreleased) ##
+* Generated association methods are created within a separate module to allow overriding and
+ composition using `super`. For a class named `MyModel`, the module is named
+ `MyModel::GeneratedFeatureMethods`. It is included into the model class immediately after
+ the `generated_attributes_methods` module defined in ActiveModel, so association methods
+ override attribute methods of the same name. *Josh Susser*
+
* Implemented ActiveRecord::Relation#explain. *fxn*
* Add ActiveRecord::Relation#uniq for generating unique queries.