No description, website, or topics provided.
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
store-after
store-before
README.md

README.md

RailsCasts Episode #22: Eager Loading (revised)

http://railscasts.com/episodes/22-eager-loading-revised

Requires Ruby 1.9.2 or higher.

Commands used in rails console

Product.joins(:category, :reviews)
Product.joins(:category, :reviews => :user)
Product.joins("left outer join categories on category_id = categories.id")