added support for activerecord with sqlite3