diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 00557ec702..85b65ecf1a 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -102,8 +102,8 @@ module ActiveRecord module Validations extend ActiveSupport::Concern - depends_on ActiveSupport::Callbacks - depends_on ActiveModel::Validations + include ActiveSupport::Callbacks + include ActiveModel::Validations included do alias_method_chain :save, :validation |