RubyGems.org

MetaWhere offers the ability to call any Arel predicate methods (with a few convenient aliases) on your Model's attributes instead of the ones normally offered by ActiveRecord's hash parameters. It also adds convenient syntax for order clauses, smarter mapping of nested hash conditions, and a debug_sql method to see the real SQL your code is generating without running it against the database. If you like the new AR 3.0 query interface, you'll love it with MetaWhere.

installgem install maksar-meta_where
Authors

Ernie Miller

1,102 total downloads 1,102 for this version
Owners

Bcc4fb5e3a5fcd53f77d43019e173347

Gemfile
gem 'maksar-meta_where', '~> 1.0.4'
Versions
  1. 1.0.4 June 8, 2011 (27 KB)
Development Dependencies
  1. shoulda >= 0
  2. sqlite3 ~> 1.3.3