This project is archived and is in readonly mode.

Changeset [97e07a88feaf334d7eaa44f66bcd57c08cd587a6] by Tom Lea

March 25th, 2010 @ 02:33 PM

Fix incorrect relative paths being used when looking up templates.

The bug will manifest itself by failing to locate templates when running tests,
or when running as a daemon (from /).

It relates the the different behavior of ActionView::Template::Path#to_s and
ActionView::Template::Path#to_str when a RAILS_ROOT is defined. #to_s reports
a path relative to the root, and #to_str reports an absolute path.

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/97e07a88feaf334d7eaa44f66bcd57...

Committed by Tom Lea

  • M actionmailer/lib/action_mailer/base.rb
  • M actionmailer/test/mail_service_test.rb

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>