Find file History
Pull request Compare This branch is 122 commits behind ryanb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
store
README

README

Railscasts Episode #251: MetaWhere & MetaSearch

http://railscasts.com/episodes/251

rails console

  Product.where(:price.lt => 5)
  Product.where({:price.lt => 5} | {:name.matches => "%video%"})
  Product.order(:released_at.desc)
  MetaWhere.operator_overload!
  Product.where(:price < 5)