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