mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix description for AM::Callbacks
This commit is contained in:
parent
64f1c888f2
commit
db41078566
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue