Displaying 2 results from an estimated 2 matches for "_listing".
Did you mean:
listing
2006 Mar 22
3
Rendering partials in ActionMailer?
Hello,
Is anyone out there rendering partials successfully in ActionMailer
templates?
I am having trouble with this, and wasn''t sure if it was my
configuration or something with a version of Rails I''m running.
We''ve got over 15 mailer templates, all working like a charm.
But we have a piece of shared code, that we''d really like to not have to
copy &
2008 Apr 07
0
Haml and View tests
...c work nicely with Haml for controller integrated view tests?
I am getting the following error:
===================
ActionView::TemplateError in ''Admin::ListingsController index should get
a 200 OK''
undefined method `photo'' for true:TrueClass
On line #2 of admin/listings/_listing.html.haml
1: %tr
2: %td.photo= image_tag(listing.photo.url(:thumb), :class =>
:photo)
Both photo and the photo.url are stubbed out.
Thanks for the help.
--
Posted via http://www.ruby-forum.com/.