This project is archived and is in readonly mode.

#6486 ✓committed
Josep M. Bach

Make ActiveSupport::Configurable work with Modules

Reported by Josep M. Bach | February 28th, 2011 @ 01:36 PM

Currently ActiveSupport::Configurable mixin can only be included in Classes (because it calls their superclass method). By adding an additional check (responds_to?(:superclass)), the mixin can be included in regular Modules as well. Patch with tests included.

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>

Attachments

Referenced by

Pages