better mailer generator, tests (needs review)

Hello there,

The model generated by mailer generator isn’t exactly nice.
I’ve created a patch to fix this:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/20-improve-mailer-generator-and-add-tests

Three commits (patchfiles) for 3 things:

  1. major generator tests cleanup and adding of mailer generator test
  2. nicer generated model
  3. added “default_url_options[:host]”
    What do you think of the resulting model? Need feedback on this.

Thanks,

  • Mislav

Nevermind this, people. Josh Peek accepted and commited even before I finished this email (but I haven’t seen it then). Thanks, Josh.