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.

Get rid of Class#extlib_inheritable_reader

#4734

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.

Reported by Pavel Gorbokon · May 31st, 2010 @ 12:44 AM

State: resolved
Milestone: 3.0.5
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Pavel Gorbokon
  2. José Valim
    José Valim
    • 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.

    June 23rd, 2010 @ 08:37 AM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone cleared.
    • Importance changed from to Low

    August 30th, 2010 @ 04:10 AM

  4. Jeremy Kemper
  5. Ryan Bigg
    Ryan Bigg
    • Tag cleared.

    Automatic cleanup of spam.

    October 19th, 2010 @ 08:34 AM

  6. Santiago Pastorino
  7. José Valim
    José Valim
    • State changed from new to resolved
    • Assigned user changed from Yehuda Katz (wycats) to José Valim

    November 17th, 2010 @ 11:44 PM

  8. Santiago Pastorino