Sha256: 70a204fba46a634b34bd232372b5f2fa8bc0dc830cab555cba2c453de422e332

Contents?: true

Size: 278 Bytes

Versions: 11

Compression:

Stored size: 278 Bytes

Contents

require 'dragonfly/rails/images'

app = Dragonfly[:images]
app.configure_with(:imagemagick)

app.configure_with(:rails) do |c|
  c.datastore = Dragonfly::DataStorage::MongoDataStore.new :db => Mongoid.database
end

app.define_macro_on_include(Mongoid::Document, :image_accessor)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
brick_layer-0.10.6 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.10.5 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.10.3 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.10.2 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.10.1 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.10.0 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.9.6 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.9.4 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.9.2 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.9.1 config/initializers/brick_layer_dragonfly.rb
brick_layer-0.9.0 config/initializers/brick_layer_dragonfly.rb