Browse files

The MailingAddress is good design, but it adds some noise to the quer…

…ying guide b/c it is not referenced anywhere.
  • Loading branch information...
1 parent 54b5b06 commit c7d975708f7a2ad1eaf8bf65336843269ba08b3d @evanfarrar evanfarrar committed May 9, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 railties/guides/source/active_record_querying.textile
View
6 railties/guides/source/active_record_querying.textile
@@ -22,7 +22,6 @@ TIP: All of the following models uses +id+ as the primary key, unless specified
<ruby>
class Client < ActiveRecord::Base
has_one :address
- has_one :mailing_address
has_many :orders
has_and_belongs_to_many :roles
end
@@ -35,11 +34,6 @@ end
</ruby>
<ruby>
-class MailingAddress < Address
-end
-</ruby>
-
-<ruby>
class Order < ActiveRecord::Base
belongs_to :client, :counter_cache => true
end

0 comments on commit c7d9757

Please sign in to comment.