diff options
author | Steve Lounsbury <steve.lounsbury@shopify.com> | 2014-12-16 01:58:19 +0000 |
---|---|---|
committer | Steve Lounsbury <steve.lounsbury@shopify.com> | 2014-12-16 01:58:19 +0000 |
commit | d60556e967b2c817e9ed2565638cb0ea89986e3b (patch) | |
tree | 79b7a3e92d09510f2685b2307008cf6016ead7b3 /guides/source/documents.yaml | |
parent | 72a815c3fdd288c1e94953712b7540b582adfab7 (diff) | |
download | rails-d60556e967b2c817e9ed2565638cb0ea89986e3b.tar.gz rails-d60556e967b2c817e9ed2565638cb0ea89986e3b.tar.bz2 rails-d60556e967b2c817e9ed2565638cb0ea89986e3b.zip |
You need to specify the counter_cache option on the has_many side of the association when using a custom counter cache column. This is documented on the has_many association here: http://apidock.com/rails/ActiveRecord/Associations/ClassMethods/has_many [ci skip]
Diffstat (limited to 'guides/source/documents.yaml')
0 files changed, 0 insertions, 0 deletions