Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix ActiveModel::Validations::Callbacks doc

  • Loading branch information...
commit 6e8a1bd0d3bb602252a9ff6e77dcf9cf64261aaf 1 parent 0631b26
@janx janx authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activemodel/lib/active_model/validations/callbacks.rb
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.