diff options
Diffstat (limited to 'activemodel/CHANGELOG')
-rw-r--r-- | activemodel/CHANGELOG | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/activemodel/CHANGELOG b/activemodel/CHANGELOG index be4de2e53c..bf077bef35 100644 --- a/activemodel/CHANGELOG +++ b/activemodel/CHANGELOG @@ -1,4 +1,15 @@ -*Rails 3.1.0 (unreleased)* +* Added ActiveModel::Errors#added? to check if a specific error has been added [Martin Svalin] + +* Add ability to define strict validation(with :strict => true option) that always raises exception when fails [Bogdan Gusiev] + +* Deprecate "Model.model_name.partial_path" in favor of "model.to_partial_path" [Grant Hutchins, Peter Jaros] + +* Provide mass_assignment_sanitizer as an easy API to replace the sanitizer behavior. Also support both :logger (default) and :strict sanitizer behavior [Bogdan Gusiev] + +*Rails 3.1.0 (August 30, 2011)* + +* Alternate I18n namespace lookup is no longer supported. + Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead [José Valim] * attr_accessible and friends now accepts :as as option to specify a role [Josh Kalderimis] |