aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2015-01-31 11:59:02 +0530
committerVipul A M <vipulnsward@gmail.com>2015-01-31 11:59:02 +0530
commitdb41078566b67d9d953636d50919b6c9eee9ad0c (patch)
treef12a62accd4e075847047385ad7ba70b0a022460
parent64f1c888f288a71c01f17f31257bcf77c7b97e5d (diff)
downloadrails-db41078566b67d9d953636d50919b6c9eee9ad0c.tar.gz
rails-db41078566b67d9d953636d50919b6c9eee9ad0c.tar.bz2
rails-db41078566b67d9d953636d50919b6c9eee9ad0c.zip
Fix description for AM::Callbacks
-rw-r--r--activemodel/lib/active_model/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb
index 6214802074..2cf39b68fb 100644
--- a/activemodel/lib/active_model/callbacks.rb
+++ b/activemodel/lib/active_model/callbacks.rb
@@ -49,7 +49,7 @@ module ActiveModel
# puts 'block successfully called.'
# end
#
- # You can choose not to have all three callbacks by passing a hash to the
+ # You can choose to have only specific callbacks by passing a hash to the
# +define_model_callbacks+ method.
#
# define_model_callbacks :create, only: [:after, :before]