Update lib/doorkeeper/models/active_record.rb