Searching / Ordering data with inherited_resources in Rails
-
28-04-2021 - |
Pregunta
Is there a popular gem that makes it easier to build an admin interface in Rails that lets you search and order data? Bonus points if it integrates well with inherited_resources.
I don't want to use something as heavyweight as activeadmin.
Looking for something like this:
Solución
I found the sorted gem (https://github.com/mynameisrufus/sorted), which allows me to easily build sortable tables.
Ransack (https://github.com/ernie/ransack) lets me easily build searches.
Otros consejos
The screenshot you provided is exactly what you are looking for
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow