<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -465,8 +465,8 @@ module ActionMailer #:nodoc:
       create_parts
 
       # Set the subject if not set yet
-      @subject ||= I18n.t(method_name, :scope =&gt; [:actionmailer, :subjects, mailer_name],
-                                       :default =&gt; method_name.humanize)
+      @subject ||= I18n.t(:subject, :scope =&gt; [:actionmailer, mailer_name, method_name],
+                                    :default =&gt; method_name.humanize)
 
       # build the mail object itself
       @mail = create_mail</diff>
      <filename>actionmailer/lib/action_mailer/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -402,7 +402,7 @@ class ActionMailerTest &lt; Test::Unit::TestCase
     assert_nothing_raised { TestMailer.deliver_subject_with_i18n(@recipient) }
     assert_equal &quot;Subject with i18n&quot;, ActionMailer::Base.deliveries.first.subject
 
-    I18n.backend.store_translations('en', :actionmailer =&gt; {:subjects =&gt; {:test_mailer =&gt; {:subject_with_i18n =&gt; &quot;New Subject!&quot;}}})
+    I18n.backend.store_translations('en', :actionmailer =&gt; {:test_mailer =&gt; {:subject_with_i18n =&gt; {:subject =&gt; &quot;New Subject!&quot;}}})
     assert_nothing_raised { TestMailer.deliver_subject_with_i18n(@recipient) }
     assert_equal &quot;New Subject!&quot;, ActionMailer::Base.deliveries.last.subject
   end</diff>
      <filename>actionmailer/test/mail_service_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>83f329f5f30567a10bc96410da230bf986db8ad4</id>
    </parent>
  </parents>
  <author>
    <name>Jos&#233; Valim</name>
    <email>jose.valim@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/4a1f43878105d701fd2dd769ec3cf7e81d133c09</url>
  <id>4a1f43878105d701fd2dd769ec3cf7e81d133c09</id>
  <committed-date>2009-11-09T10:57:53-08:00</committed-date>
  <authored-date>2009-11-09T10:35:31-08:00</authored-date>
  <message>Change mailer subjects lookup.</message>
  <tree>6265b931ce5c5d26506914b5fb7eb9323ba41adb</tree>
  <committer>
    <name>Yehuda Katz</name>
    <email>wycats@Yehuda-Katz.local</email>
  </committer>
</commit>
