SQLite_gem solution