I am using the rails mailer preview to view my mailer output when designing.
I am opening a url like this in the browser:
http://localhost:3000/rails/mailers/notifier/invitation
The CSS styles are properly inlined, but when I change something in the CSS, the preview does not change.
I am using a stylesheet_path 'app/assets/stylesheets/mailers' and the only way to force reload, is to change this line to something else (that does not exist) and then change it back - only then, the HTML is regenerated properly.
(BTW - since the rails preview is using an iframe, I also tried loading it with the "liberated" iframe, same result).
Is this a bug?
Is there another, better way to preview the HTML mail while designing it?
Thanks (and other than this little thing, great gem).
I am using the rails mailer preview to view my mailer output when designing.
I am opening a url like this in the browser:
http://localhost:3000/rails/mailers/notifier/invitationThe CSS styles are properly inlined, but when I change something in the CSS, the preview does not change.
I am using a
stylesheet_path 'app/assets/stylesheets/mailers'and the only way to force reload, is to change this line to something else (that does not exist) and then change it back - only then, the HTML is regenerated properly.(BTW - since the rails preview is using an iframe, I also tried loading it with the "liberated" iframe, same result).
Is this a bug?
Is there another, better way to preview the HTML mail while designing it?
Thanks (and other than this little thing, great gem).