fabrik42/acts_as_api — Issue #44: Issues with Rails built-in cache counter
Author: seivan
Created: 2011-11-25 19:18:11+00:00
State: open

belongs_to :order, :counter_cache => :contributors_count

contributors_count is null in the response, but 1 in the model
Next request. It's 1 in the response and 2 in the model.

I've resorted to callbacks for this for now. But really like this out of the box.

Basically the attribute isn't set when the response is sent.