aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-10-21 22:15:16 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-10-21 22:48:27 +0900
commit8c2ba84d6301b429bd6d68d7b8fd24f86926dabd (patch)
tree502abe660b2fc2cbfb4e234cd1977ac7b5612450 /activemodel/lib/active_model/validations
parent589dd0f6c9b5d6fe9de88b7bdabe83681abde2a4 (diff)
downloadrails-8c2ba84d6301b429bd6d68d7b8fd24f86926dabd.tar.gz
rails-8c2ba84d6301b429bd6d68d7b8fd24f86926dabd.tar.bz2
rails-8c2ba84d6301b429bd6d68d7b8fd24f86926dabd.zip
[Active Model] require => require_relative
This basically reverts ee5cfc01a5797f854c8441539b0cae326a81b963
Diffstat (limited to 'activemodel/lib/active_model/validations')
-rw-r--r--activemodel/lib/active_model/validations/exclusion.rb2
-rw-r--r--activemodel/lib/active_model/validations/inclusion.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations/exclusion.rb b/activemodel/lib/active_model/validations/exclusion.rb
index a6cbfcc813..3be7ab6ba8 100644
--- a/activemodel/lib/active_model/validations/exclusion.rb
+++ b/activemodel/lib/active_model/validations/exclusion.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require_relative "clusivity"
+require "active_model/validations/clusivity"
module ActiveModel
module Validations
diff --git a/activemodel/lib/active_model/validations/inclusion.rb b/activemodel/lib/active_model/validations/inclusion.rb
index 00e27b528a..3104e7e329 100644
--- a/activemodel/lib/active_model/validations/inclusion.rb
+++ b/activemodel/lib/active_model/validations/inclusion.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require_relative "clusivity"
+require "active_model/validations/clusivity"
module ActiveModel
module Validations