I’m trying to use Starfish to process mail as per:
My starfish file currently looks like
server do |map_reduce|
map_reduce.type = MailQueue
map_reduce.conditions = “sent_at IS NULL”
client do |mail_queue|
It’s giving me an error:
mail_queue_process.rb:13: undefined method `dispatch_queue_item’ for
So it looks like the object map_reduce is retrieving is an array rather
than an ActiveRecord object “MailQueue”.
Where am I going wrong? There doesn’t seem to be a great deal of
documentation on Starfish.