Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [c1b22000856412eb0f5966e9e2fbcc4d91b60208] by Joe Rafaniello

Revision c1b22000856412eb0f5966e9e2fbcc4d91b60208, committed 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...

2 changed files

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