aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/CHANGELOG
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-04-01 13:54:53 -0700
committerwycats <wycats@gmail.com>2010-04-01 13:55:06 -0700
commitd2a48852a197190ecead6650aa62c7df4c3136ee (patch)
tree2c0a2a070871d74c6f459ddefcd14ca0054d7d6f /activemodel/CHANGELOG
parent46aee9f1f026febf6dd66e5a4e8be57cfa9d64f5 (diff)
downloadrails-d2a48852a197190ecead6650aa62c7df4c3136ee.tar.gz
rails-d2a48852a197190ecead6650aa62c7df4c3136ee.tar.bz2
rails-d2a48852a197190ecead6650aa62c7df4c3136ee.zip
Updated changelogs
Diffstat (limited to 'activemodel/CHANGELOG')
-rw-r--r--activemodel/CHANGELOG12
1 files changed, 12 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG b/activemodel/CHANGELOG
index eae337e737..b1334e1d98 100644
--- a/activemodel/CHANGELOG
+++ b/activemodel/CHANGELOG
@@ -1,5 +1,17 @@
*Edge*
+* #new_record? and #destroyed? were removed from ActiveModel::Lint. Use
+ persisted? instead. A model is persisted if it's not a new_record? and it was
+ not destroyed? [MG]
+
+* Added validations reflection in ActiveModel::Validations [JV]
+
+ Model.validators
+ Model.validators_on(:field)
+
+* #to_key was added to ActiveModel::Lint so we can generate DOM IDs for
+ AMo objects with composite keys [MG]
+
* ActiveModel::Observer#add_observer!
It has a custom hook to define after_find that should really be in a