提交 55105c43 编写于 作者: J Josep M. Bach

Fix missing inheritance from AR::Base in docs

上级 0b241297
......@@ -540,7 +540,7 @@ def readonly_attributes
#
# ==== Example
# # Serialize a preferences attribute
# class User
# class User < ActiveRecord::Base
# serialize :preferences
# end
def serialize(attr_name, class_name = Object)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册