Sha256: 445fc16a1b446611d0d9cc50bbf3d2cb97811b0205bb6af7afe320da6aaa6a32
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
require 'dragonfly' app = Dragonfly[:waffle_assets] app.configure_with(:imagemagick) app.configure_with(:rails) if ENV['S3_BUCKET'] app.configure do |c| c.datastore = Dragonfly::DataStorage::S3DataStore.new( :bucket_name => ENV['S3_BUCKET'], :access_key_id => ENV['S3_KEY'], :secret_access_key => ENV['S3_SECRET'] ) end end app.define_macro(ActiveRecord::Base, :image_accessor)
Version data entries
6 entries across 6 versions & 1 rubygems