aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorMohit Natoo <mohitnatoo@gmail.com>2016-05-19 02:02:30 +0530
committerMohit Natoo <mohitnatoo@gmail.com>2016-05-19 02:02:30 +0530
commit75c221f10ff94f8f91f9b0664f0f41c053d47c51 (patch)
tree530ca27002a0fa4a733062c874a73faa78ffead2 /activemodel
parentb98c1f948903cef4bdd88a8d6777e480f5770d2f (diff)
downloadrails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.tar.gz
rails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.tar.bz2
rails-75c221f10ff94f8f91f9b0664f0f41c053d47c51.zip
- removing redundant 'happens' in documentation [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/validations/callbacks.rb6
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