bmabey/database_cleaner — pull request #217 by yuki24 (2013-06-06 07:29:10+00:00)
Title: Define uses_sequence that checks if there is a table named sqlite_sequence

SQLite truncation error `no such table: sqlite_sequence` has been fixed by @lightswitch05. However, when we use DataMapper and SQLite, `undefined method or variable 'uses_sequence'` will be raised because it is only defined for ActiveRecord.

I added `uses_sequence` for DataMapper and it is working fine now.
Related issue: https://github.com/amatsuda/kaminari/pull/406