Fix Deprecation: Model.scoped is deprecated. Please use Model.all instead.