RubyGems.org

meta_where

1.0.4

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 meta_where
Authors

Ernie Miller

144,659 total downloads 95,352 for this version
Owners

2274a7476f6d2ac7aedcdec0651d0542

Gemfile
gem 'meta_where', '~> 1.0.4'
Versions
  1. 1.0.4 February 28, 2011 (27 KB)
  2. 1.0.3 February 10, 2011 (28 KB)
  3. 1.0.2 February 9, 2011 (28 KB)
  4. 1.0.1 January 18, 2011 (27.5 KB)
  5. 1.0.0 January 17, 2011 (27.5 KB)
Show all versions (26 total)
Development Dependencies
  1. shoulda >= 0
  2. sqlite3 ~> 1.3.3