提交 ae27acb3 编写于 作者: F Francesco Rodriguez

read_attribute is public [ci skip]

上级 1e5a6c78
......@@ -270,7 +270,7 @@ def column_for_attribute(name)
# Returns the value of the attribute identified by <tt>attr_name</tt> after it has been typecast (for example,
# "2004-12-12" in a data column is cast to a date object, like Date.new(2004, 12, 12)).
# (Alias for the protected <tt>read_attribute</tt> method).
# (Alias for <tt>read_attribute</tt>).
#
# class Person < ActiveRecord::Base
# end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册