diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-29 23:43:26 +0100 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-29 23:43:26 +0100 |
commit | a35ba6cf5a91b0cde0a22007f8532313754d0cac (patch) | |
tree | 03982f84515e845ca59a6567215a99e1d9dfe211 /activesupport/lib/active_support | |
parent | be0a2b8f01732bacaa652eff6f286112ace2adca (diff) | |
download | rails-a35ba6cf5a91b0cde0a22007f8532313754d0cac.tar.gz rails-a35ba6cf5a91b0cde0a22007f8532313754d0cac.tar.bz2 rails-a35ba6cf5a91b0cde0a22007f8532313754d0cac.zip |
don't allow decimal places on the amount of objects and gc runs
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index f6945e8466..71d49459ef 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -231,7 +231,7 @@ module ActiveSupport class Amount < Base def format(measurement) - number_with_delimiter(measurement) + number_with_delimiter(measurement.floor) end end |