thoughtbot/paul_revere — Issue #4: update readme request for email announcement
Author: aesthetica
Created: 2011-11-20 19:33:46+00:00
State: open

I am using a paul_revere announcement successfully on my site, but having trouble getting it to work with email. An example of usage for email would be greatly appreciated.

Here is what I tried to add to the body of an existing email message. The model in this case is ad_request:

Announcement(s): <%= render :partial => "announcements/email_announcement" %>

The result is:
A ActionView::Template::Error occurred in ad_requests#create:
undefined local variable or method `current_announcement' for #<#:0x00000108764d10>