RubyGems Navigation menu

active_filterable 0.0.1

ActiveFilterable is a gem designed to enable custom query filters for ActiveRecord models through metaprogramming. By using ActiveFilterable, you can specify which attributes of a model can be used for filtering and define different query methods such as full-text matching, prefix matching, suffix matching, IN queries, NOT IN queries, equality, greater than, less than, not equal, greater than or equal to, and less than or equal to. ActiveFilterable provides a concise and flexible way to handle complex query requirements. It allows you to define query filters directly in the model and apply them by chaining method calls in the controller, generating the corresponding query conditions.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.0.1 - July 11, 2023 (10.5KB)

Runtime依存関係 (2):

activerecord >= 5.0
activesupport >= 5.0

Development依存関係 (2):

bundler >= 0
rake >= 0

所有者:

プッシュ者:

作者:

  • Kervin

SHA 256チェックサム:

=

累計ダウンロード数 524

このバージョンのみ 524

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

ライセンス:

MIT

必要なRubyのバージョン: >= 2.6.0

リンク: