I am doing charts with https://www.chartkick.com/ and basically my
installation already works. However, I can access the chart js libraries
only from views. In a view I can say pie_chart (with parameters), and I
will get a nice pie chart.
But I would like to compose the page html in controllers so I would not
need to enclose every damn line in <% %>. But for controllers, the graph
suite's command pie_chart is a "command not found".
Then I tried a helper, and calling the helper's method: