This project is archived and is in readonly mode.

#5759 ✓committed
Robert Pankowecki

Add magic encoding comment to generated files

Reported by Robert Pankowecki | October 5th, 2010 @ 02:30 PM | in 3.0.2

rails g mailer 'absence/request_mailer' pending

generates such code:

 class Absence::RequestMailer < ActionMailer::Base
  default :from => ""

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  def pending
    @greeting = "Hi"

    mail :to => ""


The lookup in the comment is invalid in such case. It should be:

Comments and changes to this ticket

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=""></a>