You need to require "aws/s3" in your model.
When I deliver the mail w/o delayed_job it works fine with just deliver but with delayed_job it errors. I am using the aws s3 gem and am using it for photo uploads for many models. None of them have the aws/s3 being required.
So I'm not sure how that fixes the bug? Thxs – AnApprentice Jan 19 at 0:18 I am nt sure, but that it may be possible that the gem may already have been loaded by paper-clip, when you deliver w/o delayed_job. Also delayed_job runs its own instance of the rails env , so if its not properly loaded in your environment or in the class it will error out.
– Rishav Rastogi Jan 19 at 0:20 Interesting. I was wondering if in the authenticated_url method I needed to use self. XXXX?
– AnApprentice Jan 19 at 0:24 I think that worked. Still confusing that it only sometimes error'd when I didn't have the require 'aws/s3' # Needed for Delayed_job in the model. Thanks – AnApprentice Jan 19 at 0:52.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.