From d2a48852a197190ecead6650aa62c7df4c3136ee Mon Sep 17 00:00:00 2001 From: wycats Date: Thu, 1 Apr 2010 13:54:53 -0700 Subject: Updated changelogs --- activemodel/CHANGELOG | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'activemodel/CHANGELOG') 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 -- cgit v1.2.3