This project is archived and is in readonly mode.
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
-
Michael Johnston September 11th, 2008 @ 09:10 AM
- Tag set to 2.1, activesupport, dependencies
- Assigned user set to Jeremy Kemper
-
Jeremy Kemper September 11th, 2008 @ 05:07 PM
- State changed from new to duplicate
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>