This project is archived and is in readonly mode.

#225 ✓resolved
Nate Wiger

Ruby 1.9 Compat: Redefining object_id and Rational.new!

Reported by Nate Wiger | May 19th, 2008 @ 08:33 PM

This patch fixes two Ruby 1.9 compatibility issues:

  • Use of Rational.new! in the active_support tzinfo classes, which is a private method in Ruby 1.9
  • Inadvertent redefining of object_id in active_record, which yields a scary "This may cause serious issues" in Ruby 1.9

Thanks,

Nate

Comments and changes to this ticket

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