aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarunakar (Ruby) <revurikarna@gmail.com>2011-05-21 13:01:53 +0530
committerKarunakar (Ruby) <revurikarna@gmail.com>2011-05-21 13:01:53 +0530
commitb134e0f44555a7cb45324e4eee76efeea46d7e6d (patch)
tree6590628b9953e3f253f27db33302b67e372a6d80
parent89d7133082159b7d0a456bd9b524be50149918b3 (diff)
downloadrails-b134e0f44555a7cb45324e4eee76efeea46d7e6d.tar.gz
rails-b134e0f44555a7cb45324e4eee76efeea46d7e6d.tar.bz2
rails-b134e0f44555a7cb45324e4eee76efeea46d7e6d.zip
Documentation Error Fixed for ticket #839
-rw-r--r--activerecord/lib/active_record/base.rb16
1 files changed, 13 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 30e2d1a82c..dd5b9a00ff 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -577,15 +577,25 @@ module ActiveRecord #:nodoc:
#
# ==== 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
#