Querying Named Scopes Across Models with ActiveRecord::Relation#merge episode artwork

EPISODE · Jul 3, 2014 · 4 MIN

Querying Named Scopes Across Models with ActiveRecord::Relation#merge

from GoRails Screencasts · host Chris Oliver

Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models

Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models

NOW PLAYING

Querying Named Scopes Across Models with ActiveRecord::Relation#merge

0:00 4:10

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Polling for New Records

Jun 7, 2026 ·13m

Ten Years of Frontend

May 3, 2026 ·17m

Easter Eggs

Apr 5, 2026 ·3m

N+1 Driven Development

Apr 1, 2026 ·6m

Optimizations

Mar 1, 2026 ·19m

Claude Code

Feb 1, 2026 ·23m

Frequently Asked Questions

How long is this episode of GoRails Screencasts?

This episode is 4 minutes long.

When was this GoRails Screencasts episode published?

This episode was published on July 3, 2014.

What is this episode about?

Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models

Can I download this GoRails Screencasts episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!