> Hi,
>
> This is the code (in my controller for now):
>
> def hack_delayed_job_start
> self.delay.doit
> redirect_to :action => "index"
> end
>
> def doit
> StationfullsHelper::grab_latest_csv
> end
>
> If I take out the "delay." - the "doit method successfully runs when I
> call the action "hack_delayed_job_start", but if I use the delay, the
> job gets queued up, but errors when run, as mentioned.
Yeah, that won't work on a controller method.
Do this instead:
def hack_delayed_job_start
StationfullsHelper.delay.grab_latest_csv
redirect_to :action => "index"
end
=b