aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-26 19:14:39 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-26 19:14:39 +0530
commit1d8954068655580548e8e1cb283a8499988afb1d (patch)
tree2694ef0ad4ecf0297f6f72d4af84c90acb0494f9 /activemodel/lib
parentb6916e0b925d4c8b4487d574fe07b11440f2ec5e (diff)
parent5c2a2ee76e2af591a997b71eec0e35143c07f9e1 (diff)
downloadrails-1d8954068655580548e8e1cb283a8499988afb1d.tar.gz
rails-1d8954068655580548e8e1cb283a8499988afb1d.tar.bz2
rails-1d8954068655580548e8e1cb283a8499988afb1d.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activemodel/lib')
-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 37d0c9a0b9..0621a175bd 100644
--- a/activemodel/lib/active_model/callbacks.rb
+++ b/activemodel/lib/active_model/callbacks.rb
@@ -41,7 +41,7 @@ module ActiveModel
# You can choose not to have all three callbacks by passing a hash to the
# define_model_callbacks method.
#
- # define_model_callbacks :create, :only => :after, :before
+ # define_model_callbacks :create, :only => [:after, :before]
#
# Would only create the after_create and before_create callback methods in your
# class.