RubyGems Navigation menu

meta_where 1.0.3

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.4 - February 28, 2011 (27 KB)
  2. 1.0.3 - February 10, 2011 (28 KB)
  3. 1.0.2 - February 09, 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)

Runtime Dependencies (3):

activerecord ~> 3.0.4
activesupport ~> 3.0.4
arel ~> 2.0.8

Development Dependencies (1):

shoulda >= 0

Owners:

Authors:

  • Ernie Miller

SHA 256 checksum:

f054755a3b28faf5b17055c4fea99aa38c4bcf71b97d8f615c3bab997987c897

Total downloads 199,545

For this version 7,115

Licenses:

N/A

Required Ruby Version: None

Links: