Ruby on Rails Friday, February 1, 2013

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!!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/jBRFZ_tgz9EJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment