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 [717a2941e15b32d07cc456bb0d81742ecfc5b4a3] by Chris Hapgood

Revision 717a2941e15b32d07cc456bb0d81742ecfc5b4a3, committed by Chris Hapgood · January 16th, 2010 @ 02:21 AM

Fix #microseconds conversion and #fast_string_to_time

  • Use direct integer parsing in #fast_string_to_time to avoid convoluted conversions and errors due to truncation.
  • Use Float#round in #microseconds to avoid truncation errors.

Signed-off-by: Michael Koziarski michael@koziarski.com
http://github.com/rails/rails/commit/717a2941e15b32d07cc456bb0d8174...

2 changed files

  • A activerecord/test/cases/schema_definitions_test.rb
  • M activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb