jhund/filterrific
关于
Filterrific 是一款 Rails Engine 插件,可轻松筛选、搜索和排序 ActiveRecord 列表。
其他项目可以做什么
- Makes heavy use of ActiveRecord Scopes
- ActionController helpers to shuttle filter params from ActionView forms to ActiveRecord based models, and to return matching records back from ActiveRecord to ActionView.
- Form helpers to build powerful search and filter forms with ease.
- Javascript assets to auto-submit filter form on change via AJAX.
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Filterrific
Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists:
Features
- Makes heavy use of ActiveRecord Scopes
- ActionController helpers to shuttle filter params from ActionView forms to ActiveRecord based models, and to return matching records back from ActiveRecord to ActionView.
- Form helpers to build powerful search and filter forms with ease.
- Javascript assets to auto-submit filter form on change via AJAX.
- Image asset to show a spinner in the Filterrific form when new records are being loaded via AJAX.
- API option to use Filterrific with Rails API mode. Just use
gem 'filterrific', require: 'filterrific_api'in your Gemfile.

Installation
gem install filterrific
or with bundler in your Gemfile:
gem 'filterrific'
Usage
Make sure to go to the fantastic Filterrific documentation to find out more!
Compatibility
Every commit to Filterrific is automatically tested against the following scenarios:
Guidelines for submitting issues
Please post questions related to usage at StackOverflow under the filterrific tag.
If you think you've found a bug, or have a feature request, then create an issue here on Github. You'll make my job easier if you follow these guidelines:
- Please keep in mind that I do this in my spare time. To you this software is free as in
beer, to me it's free as inbaby. I appreciate it if you first do everything you can on your own: read the detailed Filterrific documentation, look for similar issues on StackOverflow, search the internets, etc. - If you're stuck, give me sufficient context so that I have a chance to identify the issue:
- what version of filterrific are you using? (look in your
Gemfile.lock) - what version of Rails are you using? (look in your
Gemfile.lock) - what version of Ruby are you using? (run
ruby -vin your app root)
- what version of filterrific are you using? (look in your
- If you get an exception, include the entire stack trace, including the error message.
- Include any relevant code snippets (your model, controller, and view code).
- When pasting code, please use markdown code formatting. It will be much easier to read.
Resources
- Documentation
- Demo App using classic Rails views.
- API Demo App using React and Mobx.
- Changelog
- Source code (github)
- Issues
- Questions on Stack Overflow (tagged
filterrific) - Rubygems.org
License
Copyright
Copyright (c) 2010 - 2023 Jo Hund. See (MIT) LICENSE for details.
探索相关项目
加载中…
