Displaying 1 result from an estimated 1 matches for "50x64".
Did you mean:
0x64
2006 Jul 03
0
image_tag refuses to work in email context
...ver HTML email using the template "sent.rhtml"
thusly:
ImageMailer.deliver_sent("/foo/bar/baz")
sent.rhtml is just a bit of HTML tags nothing exciting.
However, when try to include the helper function image_tag thusly:
<%= image_tag("rails.png", :size => "50x64") %>
Irb angrily spews all sorts of unintelligable error messages. All I did
was add this single line of code. Nothing more. Any thought? Can I not
use image_tag in ActionMailer based models?
Thanks,
Doug
--
Posted via http://www.ruby-forum.com/.