aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-04 11:16:55 +0000
committerJon Leighton <j@jonathanleighton.com>2011-11-04 11:17:56 +0000
commite6cc2ea201857a5f3700f589336df2880564cfea (patch)
treee05f67885b8201f74b9284f6dc1497fd2c4d56ec /activerecord/CHANGELOG
parent2c67845271f7bd800fa4f902e187c803ab61bb01 (diff)
downloadrails-e6cc2ea201857a5f3700f589336df2880564cfea.tar.gz
rails-e6cc2ea201857a5f3700f589336df2880564cfea.tar.bz2
rails-e6cc2ea201857a5f3700f589336df2880564cfea.zip
Allow the :class_name option for associations to take a symbol.
This is to avoid confusing newbies, and to be consistent with the fact that other options like :foreign_key already allow a symbol or a string.
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 871cc624ca..5417824805 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,13 @@
*Rails 3.2.0 (unreleased)*
+* Allow the :class_name option for associations to take a symbol (:Client) in addition to
+ a string ('Client').
+
+ This is to avoid confusing newbies, and to be consistent with the fact that other options
+ like :foreign_key already allow a symbol or a string.
+
+ [Jon Leighton]
+
* In development mode the db:drop task also drops the test database. For symmetry with
the db:create task. [Dmitriy Kiriyenko]