aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector/methods.rb
diff options
context:
space:
mode:
authoraditya-kapoor <aditya.kapoor@vinsol.com>2013-05-19 10:45:58 +0530
committeraditya-kapoor <aditya.kapoor@vinsol.com>2013-05-19 10:45:58 +0530
commit8d5fcb691e7496900f1c77dff8d6e729c1b56201 (patch)
tree00fccd735e45535169919d768831e90e8ec3d8a9 /activesupport/lib/active_support/inflector/methods.rb
parent94b97f6154e3a86fe4520dc685d010a533105650 (diff)
downloadrails-8d5fcb691e7496900f1c77dff8d6e729c1b56201.tar.gz
rails-8d5fcb691e7496900f1c77dff8d6e729c1b56201.tar.bz2
rails-8d5fcb691e7496900f1c77dff8d6e729c1b56201.zip
Changed the CHANGELOG for active_support and improved the doc for inflector method classify
Diffstat (limited to 'activesupport/lib/active_support/inflector/methods.rb')
-rw-r--r--activesupport/lib/active_support/inflector/methods.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb
index 3c46cd9690..0a24e5afb8 100644
--- a/activesupport/lib/active_support/inflector/methods.rb
+++ b/activesupport/lib/active_support/inflector/methods.rb
@@ -145,14 +145,7 @@ module ActiveSupport
# 'egg_and_hams'.classify # => "EggAndHam"
# 'posts'.classify # => "Post"
#
- # Earlier in the Rails 3.2.x series, the some of the singular names were not handled correctly such as
- # for "business", "address" the classify function would return "busines" and "addres" respectively.. but now
- # this has been resolved and corrected in Rails 4
- #
- # 'business'.classify # => "Business"
- # 'address'.classify # => "Address"
- #
- # Yet some singular names are not handled correctly and I guess we would work upon it to improve upon these shortcomings
+ # Some singular names are not handled correctly, such as:
#
# "radius".classify #=> "Radiu" it should be "Radius"
# "feet".classify #=> "Foot", it should be "Feet"