diff options
author | Evan Farrar <evanfarrar@gmail.com> | 2009-05-09 09:58:29 -0500 |
---|---|---|
committer | Evan Farrar <evanfarrar@gmail.com> | 2009-05-09 09:58:29 -0500 |
commit | c7d975708f7a2ad1eaf8bf65336843269ba08b3d (patch) | |
tree | ae80e593d02e204a57d36fa98108969844d9e655 | |
parent | 54b5b0632e9ebb4972c6b95fe8240df014b0ad3c (diff) | |
download | rails-c7d975708f7a2ad1eaf8bf65336843269ba08b3d.tar.gz rails-c7d975708f7a2ad1eaf8bf65336843269ba08b3d.tar.bz2 rails-c7d975708f7a2ad1eaf8bf65336843269ba08b3d.zip |
The MailingAddress is good design, but it adds some noise to the querying guide b/c it is not referenced anywhere.
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index 0f4844f515..3187a82981 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/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 |