Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Ruby 1.9 Compat: Redefining object_id and Rational.new!

#225

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

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [1b0128c5413ace12dee45e9db328cff866a5bb06]) Don't rely on association proxying object_id. [#225 state:resolved]

    http://github.com/rails/rails/co...

    May 20th, 2008 @ 03:13 AM