Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 store
Octocat-spinner-32 README
README
Railscasts Episode #140: Rails 2.2 Extras

http://railscasts.com/episodes/140

Console

  Product.find_by_price(3) # => nil
  Product.find_by_price!(3) # => RecordNotFound Exception
  Product.find_last_by_price(4.99)
  Product.all(:joins => :category, :conditions => { :categories => { :name => 'Clothing' } })
Something went wrong with that request. Please try again.