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

インストール:
=

バージョン履歴:

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

Runtime依存関係 (1):

Development依存関係 (1):

hoe >= 1.7.0

所有者:

作者:

  • Tuomas Kareinen

SHA 256チェックサム:

=

累計ダウンロード数 18,913

このバージョンのみ 3,471

このバージョンがリリースされたのは:

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: