This project is archived and is in readonly mode.

Changeset [ebe4fa5fbe54cd0559c9e5e58d68326630cfb255] by Xavier Noria

March 9th, 2011 @ 05:51 PM

move the conditional definition of Float#round down

Rails 3 cherry-picks as little as possible from Active Support. In particular
the framework requires the files where extensions are exactly defined, rather
than convenience entry points like float.rb and friends. Because of that, it
is better to define conditionally rather than require conditionally.
https://github.com/rails/rails/commit/ebe4fa5fbe54cd0559c9e5e58d683...

Committed by Xavier Noria

  • M activesupport/lib/active_support/core_ext/float.rb
  • M activesupport/lib/active_support/core_ext/float/rounding.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>