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:
- major generator tests cleanup and adding of mailer generator test
- nicer generated model
- added “default_url_options[:host]” What do you think of the resulting model? Need feedback on this.
Thanks,
- Mislav