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.

Rails 3: Removing action mailer require from applicaton.rb causes development and production environment failures

#3884

Removing action mailer require from applicaton.rb causes development and production environment failures because ActionMailer isn't required, but the files use config.action_mailer

It's simple to comment these out, but Rails shouldn't barf on this I don't think. It should say something like "Configuration action mailer doesn't exist in development.rb" but continue loading, i.e. ignore the config line

Reported by Kieran P · February 7th, 2010 @ 05:55 AM

State: invalid
Milestone: none
Assigned to: Carl Lerche Carl Lerche
Importance: Low

Activity

  1. José Valim
    José Valim
    • Assigned user changed from José Valim to Carl Lerche

    February 7th, 2010 @ 12:41 PM

  2. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to open
    • Importance changed from to Low

    I'm not so sure about this. IMHO if you are going to remove ActionMailer, you ought to remove the configs too.

    But would somebody like to work on this?

    October 8th, 2010 @ 03:03 AM

  3. José Valim
    José Valim
    • State changed from open to invalid

    I disagree, Rails should barf. Devise can also be configured using config.devise and I would expect Rails to barf once I remove Devise.

    October 8th, 2010 @ 07:45 AM

  4. bingbing