• Stars
    star
    907
  • Rank 48,372 (Top 1.0 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 14 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.

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.

A filterrific enhanced list


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:

Filterrific version Rails version Ruby environments Database adapters Build status
5.x Rails 5.x, 6.x, 7.x MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 mysql2, postgresql Build Status
4.x Rails 4.x MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 mysql, mysql2, postgresql, sqlite3 Build Status
3.x Rails 3.2 MRI 2.0.0, 2.1.7 mysql, mysql2, postgresql, sqlite3 Not tested
2.x Rails 3.2 MRI 1.9.3 mysql, mysql2, postgresql, sqlite3 Not tested
1.x < 3.2 MRI <= 1.9.3 mysql, mysql2, postgresql, sqlite3 Not tested

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 in baby. 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 -v in your app root)
  • 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

Build Status

Code Climate

License

MIT licensed.

Copyright

Copyright (c) 2010 - 2023 Jo Hund. See (MIT) LICENSE for details.

More Repositories

1

rails-recipes

A collection of recipes for solid Ruby on Rails applications. Extracted from dozens of production apps and 10,000+ hours of deliberate Ruby on Rails practice since 2005.
Ruby
55
star
2

filterrific_demo

A demo Rails app for the Filterrific gem
JavaScript
45
star
3

rails-data-explorer

A Rails engine plugin for exploring data in your app with charts and statistics.
Ruby
37
star
4

raphael.handdrawn.js

A RaphaelJS plugin to give your vector graphics a hand drawn style. Great for sketch diagrams, charts and illustrations.
JavaScript
26
star
5

js-finite-state-machine

A simple Javascript statemachine. Great for managing UI state.
JavaScript
10
star
6

re-frame-and-reagent-and-slatejs

This repo shows how to integrate the slatejs editor into a re-frame (and reagent) clojurescript app
Clojure
8
star
7

ruby-restricted-boltzmann-machine

A Ruby port of Ed Chen's Python RBM implementation.
Ruby
8
star
8

git-btsync-test

Testing how git and btsync can be used in parallel to synchronize WIP on two local dev machines. Will they step on each others' toes? Will btsync synch .git? Will git be surprised when all the change after a pull are already present in the local files?
7
star
9

needleman_wunsch_aligner

Find the optimal alignment of two sequences of Ruby Objects.
Ruby
5
star
10

software_engineering_guide

A collection of guides on various topics related to doing software engineering with Ruby on Rails.
4
star
11

re-frame-on-rails

re-frame-on-rails is a Rails engine plugin for connecting a re-frame based ClojureScript SPA to a Ruby on Rails REST API.
Ruby
3
star
12

obama-that

Bayesian confidence intervals to measure Obama's use of "that" in different contexts.
R
3
star
13

pdfbox_text_extraction

Provides a Jruby wrapper for Apache PDFBox library to extract plain text from PDF documents.
Ruby
3
star
14

tetris-re-frame

Tetris game implemented in ClojureScript / re-frame.
Clojure
2
star
15

undo-manager

undo-manager makes it easy to add undo/redo functionality to a Ruby (on Rails) app.
Ruby
2
star
16

prepro

Presenters and Processors for clean Rails apps.
Ruby
1
star
17

multi_ruby_runner

Execute Ruby code in different Ruby environments. It lets you for example call JRuby code from MRI. It relies on rbenv or RVM to manage the Ruby runtime environment.
Ruby
1
star
18

re-frame-on-rails-demo

Demo app for re-frame-on-rails gem
Ruby
1
star
19

otherinbox

SproutCore sample application w/ statecharts
JavaScript
1
star