edited: Model.scoped instead of Model.all