Rails 3.0.20 upgrade - parse_json_times

Just a note. We moved our application from 3.0.19 to 3.0.20 and many
tests
were failing.

It appears the default behavior changed for json decoding.
ActiveSupport.parse_json_times was not checked previously and it is now.
To fix this we have added this to our application.rb:

ActiveSupport.parse_json_times = true

Hopefully this saves someone else some time. We would love feedback if
there is something more elegant or correct for this convention.

Many thanks for the security patches!!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs