RubyGems Navigation menu

meta_where 1.0.2

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:

ff1240b99678685fdd2ec04383e5d3ab4e6829a64c9ce2786d6a93edbe4c8fdf

Total downloads 199,501

For this version 3,935

Licenses:

N/A

Required Ruby Version: None

Links: