diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-19 18:18:45 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-19 18:20:02 +0200 |
commit | 0247995d05b3cd3ff5fe32d5fbd8fdd866646909 (patch) | |
tree | 83cf6bf49a9f6421100ac765f025c508b6995ad1 /activemodel/test | |
parent | 51739d3228d12907d60fb1b0a2b1ef96c55f66a3 (diff) | |
download | rails-0247995d05b3cd3ff5fe32d5fbd8fdd866646909.tar.gz rails-0247995d05b3cd3ff5fe32d5fbd8fdd866646909.tar.bz2 rails-0247995d05b3cd3ff5fe32d5fbd8fdd866646909.zip |
ActiveModel::Validations::Callbacks should not be required by default.
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/validations/callbacks_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/test/cases/validations/callbacks_test.rb b/activemodel/test/cases/validations/callbacks_test.rb index 08dcf254c2..67b21eb106 100644 --- a/activemodel/test/cases/validations/callbacks_test.rb +++ b/activemodel/test/cases/validations/callbacks_test.rb @@ -3,6 +3,7 @@ require 'cases/helper' class Dog include ActiveModel::Validations + include ActiveModel::Validations::Callbacks attr_accessor :name, :history |