Bonus Download: Want to have a copy of the steps in a pretty .pdf? Download the FREE presentation here.

Ruby Snack # 49: Scopes Using the Merge Method

GET FREE UPDATES OF NEW POSTS HERE

Overview

With associated models, you sometimes need to gather records based on an attribute from the associated model. The "merge" method makes that super easy!

Melissa Wahnish

Melissa is the Founder of RubyThursday and co-organizer of the Ruby Roundtable meetup. Signup for her weekly updates here.

Ruby snacks, tutorials, and freebies. Delivered weekly!

Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form :(

Post Your Awesome Comments and Questions Below
(or just say hi! :)