RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in