Rails 3.1 Ransack HABTM

Viewed 2310

Is HABTM supported by Ransack?

Having the models:

  • Shop HABTM Categories
  • Category HABTM Shops

Can I use ransack to search a Shop by a single category? What does the form look like?

2 Answers
Related