Paul Rosania
2010-Feb-05 05:19 UTC
[PATCH] 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. [/excerpt] For more information, including the proposed patch, see: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3857-patch-rails-30-beta-actionmailerbasedefault_url_options-not-available-in-app-config -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.