RubyGems Navigation menu

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.

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:

Authors:

  • Ernie Miller

Owners:

2274a7476f6d2ac7aedcdec0651d0542

Total downloads 147,783

For this version 97,474

Show all versions (26 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'meta_where', '~> 1.0.4' = Copy to clipboard Copied!

install:
gem install meta_where = Copy to clipboard Copied!

Links: