This project is archived and is in readonly mode.

Changeset [717a2941e15b32d07cc456bb0d81742ecfc5b4a3] 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...

Committed by Chris Hapgood

  • A activerecord/test/cases/schema_definitions_test.rb
  • M activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.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>