jurrick/mighty_grid — pull request #4 by jurrick (2014-12-21 17:13:42+00:00)
Title: Filters

#### A new way of writing filters

Now, the filters are defined in a model.

For example:
```ruby
class ProductsGrid < MightyGrid::Base
scope { Product }

filter :name
filter :company, :enum, attribute: :name, model: Company, collection: Company.all.map { |c| [c.id, c.name] }
filter :is_active, :boolean
end
```