This project is archived and is in readonly mode.

#1020 ✓duplicate
Michael Johnston

constantize broken when parent != parent by name

Reported by Michael Johnston | September 11th, 2008 @ 09:09 AM | in 2.x

see #410 -- I opened a new ticket because I wasn't sure if tickets marked resolved get watched and re-opened?


class Outer2
  module Why
    TOM2 = 5
  end
  include Why
end

"Outer2::TOM2".constantize #fails

in the wild: "Logger::INFO".constantize fails, which causes picnic to fail.

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