You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to documentation, gon supports JBuilder templates out of the box. In JBuilder, it is possible to use Rails view helpers methods without further configuration, but when trying to render them with gon.jbuilder it fails.
For example:
module ApplicationHelper
def bigdecimal_to_cents(value)
(value * 100).to_i if value
end
end
According to documentation, gon supports JBuilder templates out of the box. In JBuilder, it is possible to use Rails view helpers methods without further configuration, but when trying to render them with
gon.jbuilder
it fails.For example:
The text was updated successfully, but these errors were encountered: