I made a app with Rails where I have to display 10 paintings on the index page and the details on a detail page.
I have solved in in Rails and I wonder if I can do it again with Hanami
What I have used is one helper which reads data by using a external database by using a helper function.
This is now a rake task so I can use it together with the whenever gem to look every day if there is some change.
I have a index page where I display the paintings all together in a masonary way.
I have a detail page where I display some info about a particular painting,
Can I use the same way of working in Hanami or is there a “better” way to achieve this in Hanami.