Partial fix the 'undefined method' in development mode and sqlite3