RailsCasts Pro episodes are now free!

Learn more or hide this

Jonathan Barket's Profile

GitHub User: jbarket

Comments by Jonathan Barket


I ended up creating a library to expedite the creation of various fields using Ransack that I obviously think is worth checking out: https://github.com/jbarket/facet_for

Basically, you call f.facet_for :field_name in your search form, and it takes a smart guess, which you can then supplement. It was really created for a large project at work, so the documentation may not be what you'd call extensive... but neither is the documentation for ransack.