Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit c7d975708f7a2ad1eaf8bf65336843269ba08b3d 1 parent 54b5b06
@evanfarrar evanfarrar authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.