RSSAmplifier

Chris Toomey · Oct 2, 2019

Sharing Query Logic Within ActiveRecord Models

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Re-use collection query logic within model instances to avoid duplication and get the best performance.

Read on thoughtbot.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.