I've followed the instructions and put s3_paperclip.rb in my config/initializers dir and it loads when the app loads (as it should).
However, when my model gets loaded I get the error
no such file to load -- aws/s3 (You may need to install the aws-s3 gem)
indicating the monkey patch hasn't been applied. I can also confirm this by changing my model definition to manually requiring the file after the first request has been loaded. If I restart the server it's broken once again.
Running Rails 3.0.2 with the latest s3 and paperclip gem.
Hi!
I've followed the instructions and put s3_paperclip.rb in my config/initializers dir and it loads when the app loads (as it should).
indicating the monkey patch hasn't been applied. I can also confirm this by changing my model definition to manually requiring the file after the first request has been loaded. If I restart the server it's broken once again.
Running Rails 3.0.2 with the latest s3 and paperclip gem.
Any insights and/or tips? Regards, Fredrik