Category

Active Record Named Scopes

Define reusable query methods that can be chained together to construct complex database queries.