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.

Code that depends on old MissingSourceFile breaks

#3816

In Rails 2.x MissingSourceFile had the method signature

def initialize(message, path)

Under Rails 3 it extends LoadError which only takes one argument so calling

MissingSourceFile.new(message, path) throws an ArgumentError

This breaks the current version of Polyglot and probably other gems.

Reported by Max Hawkins · January 30th, 2010 @ 03:31 AM

State: invalid
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    A major release means no backwards compatibility is promised. If you think this should be fixed anyway, feel free to provide a patch. Meanwhile this can be marked as invalid.

    April 15th, 2010 @ 10:15 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to incomplete

    Max, do you have a patch for this?

    April 15th, 2010 @ 10:32 PM

  3. Rohit Arondekar
    Rohit Arondekar
    • State changed from incomplete to invalid

    I'm marking this as invalid for the time being, because as David said, major releases don't guarantee backward compatibility. Also Polyglot already works, and I'm sure other gems that are being actively maintained will start migrating.

    If you have a patch, or still feel the need to re-open this ticket, just make a comment to do so, and I'll oblige.

    June 16th, 2010 @ 03:16 AM