Is your plugin hosted on GitHub? Make sure to press the "fetch" button next to the repository field to fetch your plugin's info from GitHub rather than typing it all in.
Repository
Name
Home Page
Short description Extension to the ActiveRecord find mechanism. It allows object-oriented construction of queries.
Description CriteriaQuery is an extension to the ActiveRecord find mechanism. It allows object-oriented construction of queries.</p> <p>In short, it lets you write:</p> <p>Person.query.name_like('name').join('address').city_like('city')</p> <p>instead of</p> <p>Person.find(:all, :conditions=>['people.name LIKE ? AND addresses.city LIKE ?', 'name', 'city'], :include=>[:city])</p> <p>or</p> <p>Person.query.name_like('name').join('address').city_like('city').join('state').name_eq('state')</p> <p>instead of</p> <p>Person.find(:all, :conditions=>['people.name LIKE ? AND addresses.city LIKE ? AND states.name=?', 'name', 'city', 'state'], :include=>[:city=>[:state]])</p> <p>This becomes increasingly useful for more complex queries, especially if the queries need to be dynamically constructed based on user input (see the README for examples).</p> <p>Criteria Queries support joins across multiple associations, as well as using the same table in multiple joins.
Description format RDoc MarkDown Textile
License Ruby's Rails' (MIT) GPL LGPL BSD Apache Artistic PublicDomain BSD-type Free-Trial Free-but-Restricted OpenSource Proprietary Shareware Source-available-proprietary Commercial
Category Assets Controllers Internationalization Misc. Enhancements Model Rails Engines Searching and Queries Security Statistics and Logs Testing View Extensions