aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-02-06 11:48:54 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-02-06 11:48:54 -0800
commit468231ee50ec9ff94102fc409331deace7dce3a0 (patch)
treeedfb28f4624d9130241147c7ccfcd9566d2b0135 /activesupport/lib/active_support/core_ext/string
parentb1c1e3deb7d752292abaff34ba66a3eae030d252 (diff)
downloadrails-468231ee50ec9ff94102fc409331deace7dce3a0.tar.gz
rails-468231ee50ec9ff94102fc409331deace7dce3a0.tar.bz2
rails-468231ee50ec9ff94102fc409331deace7dce3a0.zip
Avoid circular require
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index de99fe5791..15ad3d99cc 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -1,4 +1,4 @@
-require 'active_support/inflector'
+require 'active_support/inflector' unless defined?(ActiveSupport::Inflector)
module ActiveSupport #:nodoc:
module CoreExtensions #:nodoc: