I want to add a _count to a couple of my models but this is not a new
relationship so the numbers will not start at zero. I have tried just
adding an update_attribute to my migration with the current count but
for
some reason the DB will not take the new number.
Does the _count field have a protection on it so people can not tamper
with
it? What is the proper way to add a _count field to relationships that
already exist in production i.e. is there a Rails way of doing it?
John K.
[email protected]
Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas