diff options
author | Rizwan Reza <rizwanreza@gmail.com> | 2010-06-16 22:25:15 +0430 |
---|---|---|
committer | Rizwan Reza <rizwanreza@gmail.com> | 2010-06-16 22:25:15 +0430 |
commit | 6445441253711d9131fa859115dd8224ea31eeee (patch) | |
tree | 2024c8728597fdc014ead7a7a24442c1b5c57b36 /activerecord/lib/active_record/validations.rb | |
parent | 4e3eec3d017df151ac3201be9b03f1f01c228ad3 (diff) | |
download | rails-6445441253711d9131fa859115dd8224ea31eeee.tar.gz rails-6445441253711d9131fa859115dd8224ea31eeee.tar.bz2 rails-6445441253711d9131fa859115dd8224ea31eeee.zip |
Adds title to the rest of the files in activerecord/lib
Diffstat (limited to 'activerecord/lib/active_record/validations.rb')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index be64e00bd1..6b511e83db 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -1,6 +1,9 @@ module ActiveRecord + # = Active Record Validations + # # Raised by <tt>save!</tt> and <tt>create!</tt> when the record is invalid. Use the # +record+ method to retrieve the record which did not validate. + # # begin # complex_operation_that_calls_save!_internally # rescue ActiveRecord::RecordInvalid => invalid |