metautonomo.us

Confounding URL typists since 2007.

Tag Archives: meta_search

Arel merge!

0 Comments

Using MetaSearch and MetaWhere is about to become simpler, now that most of my Arel changes have been merged into rails/arel. Once a new Arel gem is released, I’ll make a new gem release of both of my libraries, as well. Thanks to Emilio Tagua () and Bryan Helmkamp () for the feedback and eventual merge!

Filed under Blog
May 20, 2010

MetaUpdates

0 Comments

MetaSearch and MetaWhere updates, I mean. I spent some time over the weekend (and technically tonight, as well) wrapping up some nifty new features on MetaSearch and MetaWhere. Read on for the highlights.
Read the rest of this post

Filed under Blog
Apr 26, 2010

Ruby 1.9, BasicObject, and ! (not)

2 Comments

In a recent , Joe Smith raised an issue that bothered me while I was working on my fork of Arel: predicate negation (not) has odd left-to-right readability. While only a minor annoyance, it did get me to spend some time tonight investigating a possible solution. This was when I got acquainted with Ruby 1.9′s BasicObject class, and more specifically, BasicObject#!.
Read the rest of this post

Filed under Blog
Apr 10, 2010

MetaSearch: Testers wanted

3 Comments

MetaSearch has had a bunch of nifty additions since the last released gem version. I’d really love to have some testers try out the new version, but it requires some handy additions to Arel which currently only exist on my fork. Those intrepid enough to try it out will gain a host of bug fixes, custom validators, and any- and all-suffixed methods for easier multi-condition searches.
Read the rest of this post

Filed under Blog
Apr 3, 2010

Advanced ActiveRecord 3 Queries with Arel

4 Comments

If you’ve been playing with Rails 3, you might not know that aside from the documented ways to construct your queries (chaining wheres with SQL fragments and hash conditions), there are some other nifty tricks waiting under the hood for you to discover.
Read the rest of this post

Filed under Blog
Mar 28, 2010

The latest on MetaSearch

0 Comments

Version 0.3.0 of MetaSearch is out. Changes since the last time I posted include additional view helpers for gathering array input, the addition of unit tests, and easier attribute and association exclusion that honors excluded attributes through associations.
Read the rest of this post

Filed under Blog
Mar 16, 2010

MetaSearch, Object-based searching for Rails 3

45 Comments

This weekend, I spent some time playing around with Rails 3‘s new Arel-based finder code, and put together a new object-based search gem for use with form_for. I’m calling it MetaSearch, both in reference to this domain, and all the metaprogramming fun in writing it. Here are the basics…
Read the rest of this post

Filed under Blog
Mar 7, 2010