diff options
author | Mohit Natoo <mohitnatoo@gmail.com> | 2016-05-19 02:02:30 +0530 |
---|---|---|
committer | Mohit Natoo <mohitnatoo@gmail.com> | 2016-05-19 02:02:30 +0530 |
commit | 75c221f10ff94f8f91f9b0664f0f41c053d47c51 (patch) | |
tree | 530ca27002a0fa4a733062c874a73faa78ffead2 /activemodel/lib/active_model/validations | |
parent | b98c1f948903cef4bdd88a8d6777e480f5770d2f (diff) | |
download | rails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.tar.gz rails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.tar.bz2 rails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.zip |
- removing redundant 'happens' in documentation [ci skip]
Diffstat (limited to 'activemodel/lib/active_model/validations')
-rw-r--r-- | activemodel/lib/active_model/validations/callbacks.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activemodel/lib/active_model/validations/callbacks.rb b/activemodel/lib/active_model/validations/callbacks.rb index 52111e5442..a201f72ed0 100644 --- a/activemodel/lib/active_model/validations/callbacks.rb +++ b/activemodel/lib/active_model/validations/callbacks.rb @@ -29,8 +29,7 @@ module ActiveModel end module ClassMethods - # Defines a callback that will get called right before validation - # happens. + # Defines a callback that will get called right before validation. # # class Person # include ActiveModel::Validations @@ -65,8 +64,7 @@ module ActiveModel set_callback(:validation, :before, *args, &block) end - # Defines a callback that will get called right after validation - # happens. + # Defines a callback that will get called right after validation. # # class Person # include ActiveModel::Validations |