aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-16 12:51:16 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-05-16 12:51:16 -0700
commite8feaff60b9c04d34ad234f7d17b5d2ad9cc7a24 (patch)
tree2de3c658f7f8e892964cb6902da23024965e6e8e /activesupport
parent9adf28c026070afb78b80027521a4ddddd68d697 (diff)
parentf88f699a7b3180e52c2961b9b642f340b2bdae84 (diff)
downloadrails-e8feaff60b9c04d34ad234f7d17b5d2ad9cc7a24.tar.gz
rails-e8feaff60b9c04d34ad234f7d17b5d2ad9cc7a24.tar.bz2
rails-e8feaff60b9c04d34ad234f7d17b5d2ad9cc7a24.zip
Merge pull request #6354 from lest/patch-1
remove unnecessary require
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/string/access.rb2
-rw-r--r--activesupport/lib/active_support/core_ext/string/filters.rb2
-rw-r--r--activesupport/lib/active_support/inflector/transliterate.rb2
3 files changed, 1 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/access.rb b/activesupport/lib/active_support/core_ext/string/access.rb
index 5c32a2453d..8fa8157d65 100644
--- a/activesupport/lib/active_support/core_ext/string/access.rb
+++ b/activesupport/lib/active_support/core_ext/string/access.rb
@@ -1,5 +1,3 @@
-require 'active_support/multibyte'
-
class String
# If you pass a single Fixnum, returns a substring of one character at that
# position. The first character of the string is at position 0, the next at
diff --git a/activesupport/lib/active_support/core_ext/string/filters.rb b/activesupport/lib/active_support/core_ext/string/filters.rb
index 2478f42290..c7e4d5651a 100644
--- a/activesupport/lib/active_support/core_ext/string/filters.rb
+++ b/activesupport/lib/active_support/core_ext/string/filters.rb
@@ -1,5 +1,3 @@
-require 'active_support/core_ext/string/multibyte'
-
class String
# Returns the string, first removing all whitespace on both ends of
# the string, and then changing remaining consecutive whitespace
diff --git a/activesupport/lib/active_support/inflector/transliterate.rb b/activesupport/lib/active_support/inflector/transliterate.rb
index a372b6d1f7..7707b7131e 100644
--- a/activesupport/lib/active_support/inflector/transliterate.rb
+++ b/activesupport/lib/active_support/inflector/transliterate.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
-require 'active_support/core_ext/string/multibyte'
+require 'active_support/multibyte'
require 'active_support/i18n'
module ActiveSupport