diff options
author | Jon Atack <jonnyatack@gmail.com> | 2015-03-28 11:23:11 +0530 |
---|---|---|
committer | Jon Atack <jonnyatack@gmail.com> | 2015-03-28 11:23:11 +0530 |
commit | 676514c0820dc08b14f9129b02decb90fd1506ad (patch) | |
tree | f35f79c2db5da57c77140204f58245b53592ec90 /.yardopts | |
parent | 8bf2825205ad392c923070e722fc8d39687520e3 (diff) | |
download | rails-676514c0820dc08b14f9129b02decb90fd1506ad.tar.gz rails-676514c0820dc08b14f9129b02decb90fd1506ad.tar.bz2 rails-676514c0820dc08b14f9129b02decb90fd1506ad.zip |
[skip ci] Fix counter_cache in the Rails Guides
In the AR Associations Guide, this PR fixes:
- The counter_cache declaration is now shown only in the `belongs_to`
association.
- The docs stated that the counter_cache declaration needs to be on the
`has_many` side; now corrected to the `belongs_to` side.
- Split the custom column explanation out to a separate paragraph.
- Simplify the NOTE because it is true both with and without a custom
column name.
Diffstat (limited to '.yardopts')
0 files changed, 0 insertions, 0 deletions