← categories / category

Active Record Named Scopes

See on ruby-toolbox ↗ Define reusable query methods that can be chained together to construct complex database queries.

recent from @rubygems

deep_pluck

Use deep_pluck as a shortcut to select one or more attributes and include associated models without loading a bunch of records.

  • 1.3.2 Sep 09 2024 gem.coop system

filterrific

A Rails engine plugin for filtering ActiveRecord lists.

  • 5.2.7 Feb 28 2025 gem.coop system

ransack

Object-based searching for Active Record.

  • 6.0.1 Oct 25 2026 gem.coop system

tiny_filter

Tiny filtering for ActiveRecord, Sequel and enumerables.

  • 0.3.1 Nov 14 2023 gem.coop system

trailblazer-finder

Trailblazer based finder objects. It is designed to be used on its own as a separate gem. It was influenced by popular Ransack gem, but in addition to ActiveRecord, it can be used with Sequel, Hash objects, and RomRB.

  • 0.92.0 Jan 12 2024 gem.coop system

older from @rubygems

pacecar

Pacecar adds scope methods to ActiveRecord classes via database column introspection.

  • 2.0.0 Aug 03 2013 gem.coop system

random_record

Random record for ActiveRecord Models

  • 0.0.8 Apr 04 2012 gem.coop system

randumb

Adds the ability to pull random records from ActiveRecord

  • 0.6.0 May 26 2020 gem.coop system

scopable

Easy parametric query building in Rails.

  • 2.1.1 Dec 05 2019 gem.coop system

scope-builder

Build up named scopes conditionally.

  • 0.1.2 Apr 04 2010 gem.coop system

searchlogic

Searchlogic makes using ActiveRecord named scopes easier and less repetitive.

  • 2.5.9 Apr 05 2013 gem.coop system

sexy_scopes

Write beautiful and expressive ActiveRecord scopes without SQL.

  • 1.0.0.beta1 Sep 16 2017 gem.coop system

utility_scopes

A collection of utilitarian named scopes providing common functionality for ActiveRecord models.

  • 0.3.1 Dec 11 2009 gem.coop system