I am trying to use heroku and appear to be getting a Postgres error but don't have enough information to know what to fix.
The error is below, and it looks like it is trying to run delayed_job:
> PGError: ERROR: value too long for
> type character varying(255) : UPDATE
> "delayed_jobs" SET "updated_at" =
> '2010-09-12 01:06:59.354515', "last_e
> rror" = E'undefined method `subject''
> for #<YAML::Object:0x2b19faeca308>
Here is how I invoke it from a cron.rake:
Delayed::Job.enqueue SomeMailJob.new(contact,contact_email)
SomeMailJob is defined through this file:
class SomeMailJob < Struct.new(:contact, :contact_email)
def perform
OutboundMailer.deliver_campaign_email(contact,contact_email)
end
end
It "looks" like the database for delayed_jobs is trying to be updated with something funky but I have no idea what that could be.....