Displaying 1 result from an estimated 1 matches for "classname_count".
2005 Mar 01
0
acts_as_tree counter_cache
...why have a configuration option?"
Also, speaking about the documentation at
http://rails.rubyonrails.com/classes/ActiveRecord/Acts/Tree/ClassMethods.html#M000277
it wasn''t too clear (for me at least) that the counter_cache column
shouldn''t be named children_count, but rather classname_count
(refering to "counter_cache - keeps a count in a children_count column
if set to true (default: false).")
Thanks for the ear!
Earnestly,
Caleb