This project is archived and is in readonly mode.
Rails 3: Removing action mailer require from applicaton.rb causes development and production environment failures
Reported by Kieran P | February 7th, 2010 @ 05:55 AM
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
Comments and changes to this ticket
-
José Valim February 7th, 2010 @ 12:41 PM
- Assigned user changed from José Valim to Carl Lerche
-
Rohit Arondekar October 8th, 2010 @ 03:03 AM
- 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?
-
José Valim October 8th, 2010 @ 07:45 AM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>