Permalink
Browse files

don't allow decimal places on the amount of objects and gc runs

  • Loading branch information...
goncalossilva committed Mar 29, 2011
1 parent be0a2b8 commit a35ba6cf5a91b0cde0a22007f8532313754d0cac
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/testing/performance.rb
@@ -231,7 +231,7 @@ def format(measurement)
class Amount < Base
def format(measurement)
- number_with_delimiter(measurement)
+ number_with_delimiter(measurement.floor)
end
end

0 comments on commit a35ba6c

Please sign in to comment.