AR association count deprecation missing from deprecation page

Right now if you have:

class User < ActiveRecord::Base
  has_many :purchases

...and call:


You'll get a deprecation warning which points you to I know to use
user.purchases.count instead and why, but it would be good to amend
the page for other folks who end up there.

Maybe something like:

  use model.association.count instead



Man that page is ugly :slight_smile:

I've added an entry for the case you found. However I think it might
be an idea to start up a wiki page with some more useful information.

All the best...

Thanks! If/when it does point to a wiki page I'd certainly be happy to
extend/improve explanations as I run into them.