nsoseka
nsoseka
okay require the number_to_currency_helper ``` require "active_support/number_helper/number_converter" module Helpers extend ActiveSupport::NumberHelper end ``` Define a custom `number_to_currency` method ``` def number_to_currency(amount) Helpers.number_to_currency(amount) end ``` This method you can then call...
This method returns the value of `Author.number_to_currency(salary)` and not a JSON object. So the view of reports_kit can't render it. Because you have a custom data method, you need to...
Hi You can do almost everything you normally do with chart.js when using report_skit because report_skit uses it. So something like this might do ```ruby chart: type: line options: legend:...
If you read the docs carefully you will notice there is a way of working with the gem without using the monkey patch approach which is what will solve your...