This project is archived and is in readonly mode.

#6577 new
Curtis Jennings Schofield

ActiveSupport::Numberic overloads inspect but not to_s

Reported by Curtis Jennings Schofield | March 15th, 2011 @ 12:34 AM

inspect has pretty '4 days' output - views call to_s on Numeric types - can we please

class ActiveSupport::Duration
  alias :to_s :inspect
end

No comments found

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>

People watching this ticket

Pages