Hi,

just finished Simply Rails 2, and can't get the counter_cache to work.
Searched the forum but could not find anything.

any newly created story is supposed to have :votes_count = 1 but i keep getting nil when i check in console and story doesn't come up on "Upcoming stories page". the code is identical with the book (or code archive)

Any suggestions and help would be much appreciated.

Thanks.