Make rails compatible with SQLite3