metautonomo.us

Confounding URL typists since 2007.

Monthly Archives: March 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