aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-06-01 01:13:26 -0700
committerJosé Valim <jose.valim@gmail.com>2011-06-01 01:13:26 -0700
commit1ff4bfc147d301d37fe3f9c5f1d081dcd16ec35d (patch)
tree398364ce807ce2bbcd59b0aa9e4a6ef65eb2a4c6
parent69c52b0e9add98741b6c3dd4db26d14aecc9fdb7 (diff)
parent698b600719244f88b4110a38f60fd401207e5bab (diff)
downloadrails-1ff4bfc147d301d37fe3f9c5f1d081dcd16ec35d.tar.gz
rails-1ff4bfc147d301d37fe3f9c5f1d081dcd16ec35d.tar.bz2
rails-1ff4bfc147d301d37fe3f9c5f1d081dcd16ec35d.zip
Merge pull request #1441 from guilleiguaran/no_rb_require
Don't add .rb in requires
-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 ab4de3c459..d3b8d31502 100644
--- a/activemodel/lib/active_model/validations/exclusion.rb
+++ b/activemodel/lib/active_model/validations/exclusion.rb
@@ -1,4 +1,4 @@
-require 'active_support/core_ext/range.rb'
+require 'active_support/core_ext/range'
module ActiveModel
diff --git a/activemodel/lib/active_model/validations/inclusion.rb b/activemodel/lib/active_model/validations/inclusion.rb
index bfb65d2f3f..9a9270d615 100644
--- a/activemodel/lib/active_model/validations/inclusion.rb
+++ b/activemodel/lib/active_model/validations/inclusion.rb
@@ -1,4 +1,4 @@
-require 'active_support/core_ext/range.rb'
+require 'active_support/core_ext/range'
module ActiveModel