This project is archived and is in readonly mode.

Changeset [754bbaaf37f21f51b345f88ca42b423032800e91] by Serguei Filimonov

December 15th, 2009 @ 02:34 PM

Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ActiveRecord models with DateTime attributes.
http://github.com/rails/rails/commit/754bbaaf37f21f51b345f88ca42b42...

Committed by Serguei Filimonov

  • A activerecord/test/cases/yaml_serialization_test.rb
  • M activesupport/lib/active_support/core_ext/date_time/conversions.rb
  • M activesupport/test/core_ext/date_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>