diff options
author | Martin Svalin <martin@lite.nu> | 2011-10-19 18:47:28 +0200 |
---|---|---|
committer | Martin Svalin <martin@lite.nu> | 2011-10-19 21:29:20 +0200 |
commit | c9ca86c29d4f4d8e1181c20ac0da8e1027a14344 (patch) | |
tree | 9c973e42f16bb24ab09504b8bd5f8eddfdb7951f /actionmailer/test/mail_layout_test.rb | |
parent | 89a164ab9b028d855023c88e4afcdf55276a1363 (diff) | |
download | rails-c9ca86c29d4f4d8e1181c20ac0da8e1027a14344.tar.gz rails-c9ca86c29d4f4d8e1181c20ac0da8e1027a14344.tar.bz2 rails-c9ca86c29d4f4d8e1181c20ac0da8e1027a14344.zip |
New #added? method on ActiveModel::Errors
The #added? method makes it possible to check if a specific error has been added, using the same parameters as for #add.
Diffstat (limited to 'actionmailer/test/mail_layout_test.rb')
0 files changed, 0 insertions, 0 deletions