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.

Add custom load ordering for metal

#2057

I've added a new configuration options - config.metal - to which you can assign an array of metal class names. Those metals, and those metals only, will be loaded in the order specified in the array.

The patch also gives some test coverage to Metal.

Reported by Simon Jefford · February 24th, 2009 @ 02:49 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. DHH
    DHH
    • Assigned user set to josh

    February 27th, 2009 @ 01:32 PM

  2. Simon Jefford
    Simon Jefford

    I've just tweaked the patch so it applies cleanly on top of master again.

    March 1st, 2009 @ 06:16 PM

  3. josh
    josh
    • Milestone cleared.

    March 3rd, 2009 @ 06:34 PM

  4. Repository
    Repository
    • State changed from new to resolved

    (from [4d4d2c3896ed5a5d74da833c5c3132f406f4eab7]) Enhanced Rails Metal - the load order of metals can now be configured [#2057 Add custom load ordering for metal state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    March 3rd, 2009 @ 06:39 PM