diff options
author | Chris Hapgood <cch1@hapgoods.com> | 2010-01-15 18:34:49 -0500 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2010-01-16 15:21:36 +1300 |
commit | 717a2941e15b32d07cc456bb0d81742ecfc5b4a3 (patch) | |
tree | 63ec271188b01be0cb5ab08b7dc156ef4a400ef8 /activerecord/test/fixtures/memberships.yml | |
parent | 81cd11259c52544dd1bc401b7097e4a0e5d34fe6 (diff) | |
download | rails-717a2941e15b32d07cc456bb0d81742ecfc5b4a3.tar.gz rails-717a2941e15b32d07cc456bb0d81742ecfc5b4a3.tar.bz2 rails-717a2941e15b32d07cc456bb0d81742ecfc5b4a3.zip |
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>
Diffstat (limited to 'activerecord/test/fixtures/memberships.yml')
0 files changed, 0 insertions, 0 deletions