Model.all with parameters is deprecated