diff options
author | shock_one <shockone89@gmail.com> | 2013-03-24 09:34:27 +0200 |
---|---|---|
committer | shock_one <shockone89@gmail.com> | 2013-03-24 09:38:28 +0200 |
commit | ec1b715b0e6f0a345b94a44b2a03b6044091a706 (patch) | |
tree | 0ef0f800d850288341a8d89e9f7efe5b3a58b5cf /activemodel/CHANGELOG.md | |
parent | 1f1adb835a679551b23de8c18514b747ef146137 (diff) | |
download | rails-ec1b715b0e6f0a345b94a44b2a03b6044091a706.tar.gz rails-ec1b715b0e6f0a345b94a44b2a03b6044091a706.tar.bz2 rails-ec1b715b0e6f0a345b94a44b2a03b6044091a706.zip |
Add a method full_messages_for to the Errors class
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r-- | activemodel/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
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: |