Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.12 KB

doc_readme.md

File metadata and controls

18 lines (12 loc) · 1.12 KB

Rummage.Ecto

If you're looking for full Phoenix support, Rummage.Phoenix uses Rummage.Ecto and adds HTML and Controller support to it. You can check Rummage.Phoenix out by clicking here

Please refer for CHANGELOG for version specific changes

Rummage.Ecto is a light weight, but powerful framework that can be used to alter Ecto queries with Search, Sort and Paginate operations.

It accomplishes the above operations by using Hooks, which are modules that implement Rummage.Ecto.Hook behavior. Each operation: Search, Sort and Paginate have their hooks defined in Rummage. By doing this, Rummage is completely configurable.

For example, if you don't like one of the implementations of Rummage, but like the other two, you can configure Rummage to not use it.

NOTE: Rummage is not like Ransack, and doesn't intend to be. It doesn't define functions based on search params. If you'd like to have that for a model, you can always configure Rummage to use your Search module for that model. This is why Rummage has been made configurable.