diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-26 00:00:40 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-26 00:00:40 +0530 |
commit | 203771da9e0b0357f23e1c4e61d2e72578af4155 (patch) | |
tree | 0b4b7c23c37b4648cf8f0851c5b01b63199f5f57 /activesupport/lib/active_support/core_ext | |
parent | c421870c7a7315082524e909cce825a75e2f34b1 (diff) | |
parent | 368f0fe2d359209e2475a90bc7ef859cd93cc0a3 (diff) | |
download | rails-203771da9e0b0357f23e1c4e61d2e72578af4155.tar.gz rails-203771da9e0b0357f23e1c4e61d2e72578af4155.tar.bz2 rails-203771da9e0b0357f23e1c4e61d2e72578af4155.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/inflections.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb index 1e57b586d9..2194dafe4d 100644 --- a/activesupport/lib/active_support/core_ext/string/inflections.rb +++ b/activesupport/lib/active_support/core_ext/string/inflections.rb @@ -100,8 +100,8 @@ class String # # +underscore+ will also change '::' to '/' to convert namespaces to paths. # - # "ActiveRecord".underscore # => "active_record" - # "ActiveRecord::Errors".underscore # => active_record/errors + # "ActiveModel".underscore # => "active_model" + # "ActiveModel::Errors".underscore # => "active_model/errors" def underscore ActiveSupport::Inflector.underscore(self) end |