提交 b134e0f4 编写于 作者: K Karunakar (Ruby)

Documentation Error Fixed for ticket #839

上级 89d71330
......@@ -577,15 +577,25 @@ def serialize(attr_name, class_name = Object)
#
# ==== Examples
#
# class Invoice < ActiveRecord::Base; end;
# class Invoice < ActiveRecord::Base
# end
#
# file class table_name
# invoice.rb Invoice invoices
#
# class Invoice < ActiveRecord::Base; class Lineitem < ActiveRecord::Base; end; end;
# class Invoice < ActiveRecord::Base
# class Lineitem < ActiveRecord::Base
# end
# end
#
# file class table_name
# invoice.rb Invoice::Lineitem invoice_lineitems
#
# module Invoice; class Lineitem < ActiveRecord::Base; end; end;
# module Invoice
# class Lineitem < ActiveRecord::Base
# end
# end
#
# file class table_name
# invoice/lineitem.rb Invoice::Lineitem lineitems
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册