Hunting Down The Scoop On ActiveRecord Scopes
Scopes are a handy tool provided to us by ActiveRecord
. But how do you know when to use a scope? And what makes a scope different — and sometimes more useful! — than a class method? This blog post hunts down the scoop on exactly how the scope
method works.
Post a comment