Paperclip doc about url options:
You can choose to have the bucket\'s name placed domain-style (bucket.s3.amazonaws.com) or path-style (s3.amazonaws.c
Just set it like this:
Paperclip::Attachment.default_options[:url] = ':s3_domain_url'
Or like this:
Paperclip::Attachment.default_options.merge!( :url => ':s3_domain_url' )