Skip to content
No description, website, or topics provided.
Ruby JavaScript CoffeeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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")
You can’t perform that action at this time.