jah2488/mongoid-magic-counter-cache — pull request #2 by Nielsomat (2012-05-04 13:23:37+00:00)
Title: Demodulize and underscore class names for the counter field

So that for a class like Person::CloseFriend the field is named "close_friend_count", not "person::closefriend_count".