aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string
diff options
context:
space:
mode:
authorJason King <jasonk@amcoonline.net>2010-02-26 16:16:03 -0800
committerJosé Valim <jose.valim@gmail.com>2010-03-03 10:12:42 +0100
commitf36a380c07186782a7c9e2c3d169b325ee8ab6dc (patch)
tree1b7e7fa82330edeea488753fa7cb58353a4d31b0 /activesupport/lib/active_support/core_ext/string
parentcd5ec4744dec9f8a443d1318bfafc9cf02752819 (diff)
downloadrails-f36a380c07186782a7c9e2c3d169b325ee8ab6dc.tar.gz
rails-f36a380c07186782a7c9e2c3d169b325ee8ab6dc.tar.bz2
rails-f36a380c07186782a7c9e2c3d169b325ee8ab6dc.zip
Inflection dependency, [#4067 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb4
1 files changed, 3 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 ea4ed61e42..fbb7b79fc6 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -1,8 +1,10 @@
+require 'active_support/inflector'
+
# String inflections define new methods on the String class to transform names for different purposes.
# For instance, you can figure out the name of a database from the name of a class.
#
# "ScaleScore".tableize # => "scale_scores"
-
+#
class String
# Returns the plural form of the word in the string.
#