MetaSearch, Object-based searching for Rails 3
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…
SimpleSearch, searching ActiveRecord Objects with form_for
About 2 years ago, I made a basic how-to post on building a search model that could be used with form_for. I still really enjoy this basic pattern for search forms, but it always seemed like most of the gems I found relating to search were far more involved than I need, providing integration with fulltext search engines, and so on.
metautonomous is the weblog of Ernie Miller, an application developer in the Louisville, Kentucky area who believes that software development should be fun − not just for the developer, but for the users. You can reach him via e-mail