Scaffold strangeness

I have a table called 'Books' with a field 'page_count'. When I
generate a scaffold for this table the '_form.rhtml' partial does not
include this field. Changing the name to 'page_coun' and it is
included in the form partial.

Any ideas why the word count in the field name is causing the scaffold
to miss it out?



“xxx_count Maintains a counter cache for the child table xxx”

I think thats the problem.
Search for “counter_cache”