MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options.
Full article: http://railscasts.com/episodes/251-metawhere-metasearch?l...