Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
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)
Something went wrong with that request. Please try again.