General

Profile

zyren (Adnan Abdulally)

  • Login: zyren
  • Registered on: 02/24/2016
  • Last sign in: 02/24/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/24/2016

01:01 AM Ruby Bug #12105: JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
Not sure if this is an active support bug or a ruby bug. if i try to create the hash regularly, it works fine:
[19] pry(main)> hash.to_json
=> "{\"x\":50.0}"
zyren (Adnan Abdulally)
12:54 AM Ruby Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
As the title states, JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value. This used to work in ruby 2.0 before upgrading in development. I havent tested to see how far back in ruby versions the error goes... zyren (Adnan Abdulally)

Also available in: Atom