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 [2ae8300489aaaaaa65f50f3557090b265a2dcc6a] by Serguei Filimonov

Revision 2ae8300489aaaaaa65f50f3557090b265a2dcc6a, committed by Serguei Filimonov · December 15th, 2009 @ 02:15 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/2ae8300489aaaaaa65f50f3557090b...

3 changed files

  • 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