Skip to content

using merge in active record queries

March 1, 2013

I was really helped by these couple resources that talk about merging scopes in different classes.

http://railscasts.com/episodes/215-advanced-queries-in-rails-3

http://benhoskin.gs/2012/07/04/arel-merge-a-hidden-gem

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: