diff options
author | José Valim <jose.valim@gmail.com> | 2011-06-01 01:13:26 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-06-01 01:13:26 -0700 |
commit | 1ff4bfc147d301d37fe3f9c5f1d081dcd16ec35d (patch) | |
tree | 398364ce807ce2bbcd59b0aa9e4a6ef65eb2a4c6 /activemodel/lib/active_model | |
parent | 69c52b0e9add98741b6c3dd4db26d14aecc9fdb7 (diff) | |
parent | 698b600719244f88b4110a38f60fd401207e5bab (diff) | |
download | rails-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
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/validations/exclusion.rb | 2 | ||||
-rw-r--r-- | activemodel/lib/active_model/validations/inclusion.rb | 2 |
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 |