diff options
author | Xavier Noria <fxn@hashref.com> | 2010-07-10 00:56:17 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-10 00:56:17 +0200 |
commit | c81e476d6d4cb88e7e29d6e18bb3e5acce92fb8f (patch) | |
tree | 29688aab22bf3ff54b4fb8cbe18fe9dbd0c0d85f | |
parent | 86d5c728fbbce6ba8ae73f8926084f5c0eee9a41 (diff) | |
download | rails-c81e476d6d4cb88e7e29d6e18bb3e5acce92fb8f.tar.gz rails-c81e476d6d4cb88e7e29d6e18bb3e5acce92fb8f.tar.bz2 rails-c81e476d6d4cb88e7e29d6e18bb3e5acce92fb8f.zip |
missing article, only seen in github's colored diff by the beard of the prophet
-rw-r--r-- | railties/guides/source/association_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile index aec1b0732d..b1ee4b8be4 100644 --- a/railties/guides/source/association_basics.textile +++ b/railties/guides/source/association_basics.textile @@ -1405,7 +1405,7 @@ person.posts.inspect # => [#<Post id: 7, name: "a1">] Reading.all.inspect # => [#<Reading id: 16, person_id: 7, post_id: 7>, #<Reading id: 17, person_id: 7, post_id: 7>] </ruby> -In the above case there are still two readings. However +person.posts+ shows only one post because collection loads only unique records. +In the above case there are still two readings. However +person.posts+ shows only one post because the collection loads only unique records. h6(#has_many-validate). +:validate+ |