This project is archived and is in readonly mode.
Get rid of Class#extlib_inheritable_reader
Reported by Pavel Gorbokon | May 31st, 2010 @ 12:44 AM | in 3.0.5
I found that Class#extlib_inheritable_reader is used in
ActiveSupport::Callbacks only.
It could be replaced with Class#class_inheritable_reader and
Class#write_inheritable_attribute.
Comments and changes to this ticket
-
José Valim June 23rd, 2010 @ 08:37 AM
- Milestone cleared.
- Assigned user changed from José Valim to Yehuda Katz (wycats)
Hey mate, thanks for the patch but the thing is that class_inheritable_attribute is somehow deprecated as well. So, ideally, we need to use class_attribute but it does not copy the value from parent to child automatically, so we would need to work around this a bit in the current callbacks implementation.
-
Jeremy Kemper August 30th, 2010 @ 04:10 AM
- Milestone cleared.
- Importance changed from to Low
-
José Valim November 17th, 2010 @ 11:44 PM
- State changed from new to resolved
- Assigned user changed from Yehuda Katz (wycats) to José Valim
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>