Plugins - ORMQL Plugin
Add to favoritesORMQL (Object Relational Mapping Query Language) is a very simple query language to retrieve ActiveRecord objects from a database. It consists in the standard SQL where the FROM part is eliminated and column names are substituted by ActiveRecord attributes names, including nested associations. It is not necessary to learn any new language because ORMQL is a simple substitution of relevant parts in the query string and the result is sent to database as normal query.
http://rubyforge.org/projects/ormql/
svn://rubyforge.org//var/svn/ormql/
Ruby's
Searching and Queries
