aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index b8acc5f148..b4d8b7b372 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,9 @@
*SVN*
+* Added ActiveRecord::Base#becomes to turn a record into one of another class (mostly relevant for STIs) [DHH]. Example:
+
+ render :partial => @client.becomes(Company) # renders companies/company instead of clients/client
+
* Fixed that to_xml should not automatically pass :procs to associations included with :include #10162 [chuyeow]
* Fix documentation typo introduced in [8250]. Closes #10339 [Henrik N]