RubyGems Navigation menu

searchable_record 0.0.2

SearchableRecord is a small Ruby on Rails plugin that makes the parsing of query parameters from URLs easy for resources, allowing the requester to control the items (records) shown in the resource's representation. The implementation is a helper module (a mixin) for ActiveRecord models. It is used by including SearchableRecord module in a model. The mixin provides a class method, <tt>SearchableRecord#find_queried</tt>, to the class that includes it. The method is a front-end to ActiveRecord::Base#find: it parses query parameters against the given rules and calls <tt>find</tt> accordingly, returning the results of <tt>find</tt>.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.0.6 September 24, 2009 (12 KB)
  2. 0.0.5 February 04, 2009* (12,5 KB)
  3. 0.0.4 January 14, 2009* (12,5 KB)
  4. 0.0.3 January 13, 2009* (12,5 KB)
  5. 0.0.2 August 26, 2008* (11,5 KB)

Runtime Abhängigkeiten (1):

Development Abhängigkeiten (1):

hoe >= 1.7.0

Besitzer:

Autoren:

  • Tuomas Kareinen

SHA 256-Prüfsumme:

=

Downloads insgesamt 18.913

Für diese Version 3.471

Version veröffentlicht:

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: