Should you use scopes or class methods?
Scopes are a great way to grab the right objects out of your database. But when you call them, they look almost exactly like calling a class method. And class methods can do most of the same things scopes can. So why would you use a scope when you could use regular Ruby class methods?
Post a comment