提交 1ad0d1ed 编写于 作者: V Vijay Dev

Revert "Changed the CHANGELOG for active_support and improved the doc for...

Revert "Changed the CHANGELOG for active_support and improved the doc for inflector method classify"

This reverts commit 8d5fcb69.

Reason: Changelogs are not to be edited in docrails.

[ci skip]
上级 c62b7c1f
......@@ -23,12 +23,4 @@
*Daniel Schierbeck*
* 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"
*Aditya Kapoor*
Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activesupport/CHANGELOG.md) for previous changes.
......@@ -145,7 +145,14 @@ def tableize(class_name)
# 'egg_and_hams'.classify # => "EggAndHam"
# 'posts'.classify # => "Post"
#
# Some singular names are not handled correctly, such as:
# 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
#
# "radius".classify #=> "Radiu" it should be "Radius"
# "feet".classify #=> "Foot", it should be "Feet"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册