RubyGems Navigation menu

meta_where 1.0.0

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.2
activesupport ~> 3.0.2
arel ~> 2.0.2

Development Dependencies (1):

shoulda >= 0

Owners:

Authors:

  • Ernie Miller

SHA 256 checksum:

f3f897240f1bba8351dac1027931a2f5fe6a887c4406cf9c8a6017df079abbd0

Total downloads 199,501

For this version 4,102

Licenses:

N/A

Required Ruby Version: None

Links: