Find file History
Pull request Compare This branch is even with ryanb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

RailsCasts Episode #354: Squeel

Requires Ruby 1.9.2 or higher.

Commands used in this episode

rails c
rails g squeel:initializer

Commands used in rails console

Product.where { released_at < 3.months.ago }
Product.where{released_at < 3.months.ago}
Product.where{released_at < 3.months.ago}.class
Product.where{ 3.months.ago}
Product.where{ &}
Product.where{ |}