meta_where

meta_where

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.

Rubygem meta_where

Total Downloads
159385
Releases
14
Current Version
1.0.4
Released
2011-02-28 05:00:00 UTC
First Release
2010-08-24 04:00:00 UTC
Depends on following gems
Depending Gems
5

Github ernie/meta_where

Watchers
616
Forks
38
Development activity
Inactive
Last commit
2011-08-31 17:40:56 UTC
First commit
Top contributors
Contributors
4
Issues
Wiki pages

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.