Rails 3.0 beta ActionMailer::Base.default_url_options not available in app config

I'm looking for peer review for a very short AM patch:

[excerpted from Lighthouse]

Due to the use of initializers to install ActionController::UrlFor
into ActionMailer::Base, #default_url_options is not available during
configuration. This means that things like
ActionController::Base.default_url_options[:host] = 'http://
example.com' are impossible.

The proposed patch modifies initializer precedence, to run
"action_mailer.url_for" ahead of :load_environment_config, resolving
the issue.


For more information, including the proposed patch, see: