Permalink
Browse files

Documentation Error Fixed for ticket #839

  • Loading branch information...
1 parent 89d7133 commit b134e0f44555a7cb45324e4eee76efeea46d7e6d @Karunakar Karunakar committed May 21, 2011
Showing with 13 additions and 3 deletions.
  1. +13 −3 activerecord/lib/active_record/base.rb
@@ -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
#

0 comments on commit b134e0f

Please sign in to comment.