Hi,
Has anyone thought about adding Access-Control headers for assets? Right
now, I use asset_sync gem to send all assets to an S3 bucket after
asset:precompile and use CloudFront to serve them, where the 3S bucket has
Access-Control settings.
But if ActionDispatch::Static automatically (or with
I'm pro letting people configure arbitrary headers for serving assets. I think
we should bake support for this in Rails.
On a side note I really dislike asset_sync
https://gist.github.com/schneems/9374188
—
Sent from Mailbox
On Sun, Feb 22, 2015 at 7:31 PM, Yuki Nishijima
Hi,
I'm always confused by the existence of uniq and unique. Arrays and
ActiveRecord::Relation objects respond to uniq while
AR::ConnectionAdapters::SchemaStatements#add_index takes :unique option. I
would like to get notified when :uniq option is actually wrong. If we
change #add_index to take