This project is archived and is in readonly mode.

#2030 ✓committed
Wincent Colaiuta

Stray backup file in Rails repo

Reported by Wincent Colaiuta | February 20th, 2009 @ 10:03 PM | in 2.x

Any particular reason why actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb~ is in the Rails repo? Looks like an auto-generated backup file from Vim or some other editor.

Comments and changes to this ticket

  • Wincent Colaiuta
  • DHH

    DHH February 27th, 2009 @ 02:02 PM

    • State changed from “new” to “committed”

    "Fixed problem causes by leftover backup templates ending in tilde [state:committed #969]" -- that's what the test is there for.

  • Wincent Colaiuta

    Wincent Colaiuta February 27th, 2009 @ 02:47 PM

    • Tag set to patch

    Ok, I see what's happening now. The answer lies in "test_implicitly_multipart_messages" in actionmailer/test/mail_service_test.rb.

    Part of the problem is that there are three files that are in there which should be ignored. The first two:

    • implicitly_multipart_example.ignored.erb
    • implicitly_multipart_example.rhtml.bak

    Both contain the text "Ignored when searching for implicitly multipart parts."

    The third one, the one which confused me:

    • implicitly_multipart_example.text.html.erb~

    Doesn't contain that explanatory text. In fact, it contains the exact same contents as:

    • implicitly_multipart_example.text.html.erb

    So perhaps we could change it to be like the others?

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>

People watching this ticket

Attachments

Tags

Pages