Key names can't match Rails helper method names
lagartoflojo opened this issue · comments
Hernán Schmidt commented
When using keys that match Rails helper method names, like:
dom_id "le-dom-id"
url_for "le-url"
JSONBuilder calls the Rails helper methods instead of generating a key with the corresponding value.
Using key :dom_id, "le-dom-id"
does not work either.
Garrett Bjerkhoel commented
Hernán Schmidt commented
Nice, thanks! =)