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.

Engine plugin template should raise LoadError, not generic exception

#1498

The template for init.rb for newly added plugin-engine support (great!!) should raise LoadError, not just RuntimeError.

Here's the relevant template: http://github.com/rails/rails/tr..., the diff is in the attached patch.

Reported by Karel Minařík · November 30th, 2008 @ 01:38 PM

State: resolved
Milestone: 2.x
Assigned to: DHH DHH
Importance: none

Activity

  1. josh
    josh
    • Assigned user set to DHH

    December 20th, 2008 @ 05:36 PM

  2. Repository
    Repository
    • State changed from new to resolved
    • Tag changed from plugins, templates to patch, plugins, templates

    (from [4185fb1e58d8142162c3a39f9302559688dd431b]) Raise LoadError instead of a runtime exception [#1498 Engine plugin template should raise LoadError, not generic exception state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    March 7th, 2009 @ 04:06 PM