Permalink
Browse files

fix ActiveModel::Validations::Callbacks doc

  • Loading branch information...
1 parent 33d7d82 commit 1e98c8422052a76e1e792774a30e705c61108bb1 @janx janx committed with Apr 15, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 activemodel/lib/active_model/validations/callbacks.rb
@@ -8,7 +8,8 @@ module Callbacks
# Provides an interface for any class to have <tt>before_validation</tt> and
# <tt>after_validation</tt> callbacks.
#
- # First, extend ActiveModel::Callbacks from the class you are creating:
+ # First, include ActiveModel::Validations::Callbacks from the class you are
+ # creating:
#
# class MyModel
# include ActiveModel::Validations::Callbacks

0 comments on commit 1e98c84

Please sign in to comment.