title: Can I have two counter_caches on one model?
body: <p>I have a User model and an Imagevote model.</p>
  
  <pre><code>class Imagevote &lt; ActiveRecord::Base
      belongs_to :voter, class_name: "User"
      belongs_to :voted, class_name: "User"
  
  class User &lt; ActiveRecord::Base
    has_many :imagevotes, foreign_key: "voted_id", dependent: :destroy
    has_many :reverse_imagevotes, foreign_key: "voter_id", dependent: :destroy
  </code></pre>
  
  <p>Can I set up counter_caches in the User model for both attributes 'voted_count' and 'voter_count'?</p>
  
  <p>If yes, should I do them like this:</p>
  
  <pre><code>class Imagevote &lt; ActiveRecord::Base
          belongs_to :voter, class_name: "User", :counter_cache =&gt; true
          belongs_to :voted, class_name: "User", :counter_cache =&gt; true
  </code></pre>
  
  <p>Will I need to awkwardly name the new attributes 'voteds_count' and 'voters_count' or will the above work?</p>