This project is archived and is in readonly mode.
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
-
Repository May 20th, 2008 @ 03:13 AM
- State changed from new to resolved
(from [1b0128c5413ace12dee45e9db328cff866a5bb06]) Don't rely on association proxying object_id. [#225 state:resolved]
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>