提交 21dbe6f3 编写于 作者: K Kuldeep Aggarwal

[ci-skip] correct the classify example's output

上级 86b02826
......@@ -155,7 +155,7 @@ def tableize(class_name)
#
# Singular names are not handled correctly:
#
# 'business'.classify # => "Busines"
# 'business'.classify # => "Business"
def classify(table_name)
# strip out any leading schema name
camelize(singularize(table_name.to_s.sub(/.*\./, '')))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册