rails 4 application for image upload on aws s3 using paperclip gem