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:
=

Installeer:
=

Versies:

  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 afhankelijkheden (1):

Development afhankelijkheden (1):

hoe >= 1.7.0

Eigenaren:

Authors:

  • Tuomas Kareinen

SHA 256 checksum:

=

Total downloads 18.913

Voor deze versie 3.471

Versie vrijgegeven:

Licenties:

N/A

Required Ruby Version: Geen

Links: