stephencelis/miniskirt — pull request #9 by haihappen (2012-01-08 13:07:23+00:00)
Title: Changed sequences to use :count instead of :maximum/:max. 

Calculating sequences based on the `count` method works better when using alternative ORMs like Mongoid, because they tend to use non-numeric ids for records.

Works with ActiveRecord, Mongoid, MongoWrapper and all other ORM's with support for the `count` method.