This project is archived and is in readonly mode.

Changeset [c1b22000856412eb0f5966e9e2fbcc4d91b60208] by Joe Rafaniello

March 27th, 2010 @ 11:33 AM

Marshaling a time object added an instance variable to the object which affected the quoting of serialized attributes because the to_yaml of the original object did not match the to_yaml of the marshaled one. Also, Marshal.dump was modifying the source object which the client may not be aware of.

Signed-off-by: wycats wycats@gmail.com
http://github.com/rails/rails/commit/c1b22000856412eb0f5966e9e2fbcc...

Committed by Joe Rafaniello

  • M activesupport/lib/active_support/core_ext/time.rb
  • M activesupport/test/core_ext/time_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>