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.

Configurables needed in Rails::Engine and Rails:Application?

#5871

Not sure whether configurables are needed both in Rails::Engine and Rails:Application. Do they just stay there for consistency to Rails:Railties? There are no source files such as railties/lib/rails/engine/configurable.rb or railties/lib/rails/application/configurable.rb anyways.

Also it seems including railties_path to load path in cli.rb is unnecessary because bin/rails already does that. Maybe it's just because it would avoid dependency in case someone would reuse cli.rb?

Reported by zjia · October 27th, 2010 @ 04:58 AM

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

Activity

  1. Piotr Sarnacki
    Piotr Sarnacki
    • Assigned user set to José Valim

    You're right, they are no longer needed, railtie/configurable is used for all those classes.

    October 28th, 2010 @ 12:02 PM

  2. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 1st, 2010 @ 05:05 PM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [8a6ac4fc26bacbd2a6c978cace156e300b77508e]) Remove unused Configurable in Rails::Engine and Rails::Application. Remove unnecessary railties load path in cli [#5871 Configurables needed in Rails::Engine and Rails:Application? state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    https://github.com/rails/rails/commit/8a6ac4fc26bacbd2a6c978cace156...

    November 11th, 2010 @ 04:30 PM