rails/jbuilder — pull request #80 by sdepold (2012-12-03 14:29:43+00:00)
Title: Feature/big decimals as floating point numbers

I added the possibility to enable `use_floating_point_numbers` on JBuilder. Doing so will render BigDecimals as floating point number. The generator itself won't introduce any loss of accuracy. However, depending on the parser, there is a chance that the consumer of the JSON document will have limited number of decimals. (That's why we have the configuration opt-in method.)