From ec1b715b0e6f0a345b94a44b2a03b6044091a706 Mon Sep 17 00:00:00 2001 From: shock_one Date: Sun, 24 Mar 2013 09:34:27 +0200 Subject: Add a method full_messages_for to the Errors class --- activemodel/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activemodel/CHANGELOG.md') diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index b4ada0e0b5..e4c80b1bf8 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Add ActiveModel::Errors#full_messages_for, a method that returns all the error + messages for a given attribute. + + *Volodymyr Shatsky* + * Added a method so that validations can be easily cleared on a model. For example: -- cgit v1.2.3