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.

Changeset [97e07a88feaf334d7eaa44f66bcd57c08cd587a6] by Tom Lea

Revision 97e07a88feaf334d7eaa44f66bcd57c08cd587a6, committed 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...

2 changed files

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