On 10 Oct 2008, at 21:17, Stephen Bannasch wrote:

>
> I added a counter_cache to an existing parent-child model pair and
> wanted to set all the values for the counter_cache but can't do it
> using update_attribute (or a number of other methods).
>
> Should I create a bug report?
>
 From the docs 
(http://api.rubyonrails.com/classes/ActiveRecord/Associations/ClassMethods.html 
):
> Note: Specifying a counter cache will add it to that model‘s list of  
> readonly attributes using attr_readonly.

Fred
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to