Read more

Edge Rider: Power tools for ActiveRecord scopes

Henning Koch
February 13, 2013Software engineer at makandra GmbH

In our continued quest to extract proven code snippets from makandropedia into tested and upgradable gems, we have released Edge Rider Show archive.org snapshot .

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

Edge Rider was created with two intents:

  1. Provides a number of utility methods to facilitate hardcore work with scopes.
  2. Provide a stable API for working with scopes across multiple versions of Rails, since Rails has a tradition of breaking details of its scope API every other release.

The gem bundles multiple patches and initializers we've been using for hardcore work with scopes (or relations):

Please refer to the Edge Rider README Show archive.org snapshot for detailed documentation of all included helper methods.

Posted by Henning Koch to makandra dev (2013-02-13 11:54)