Sha256: 9cc8c3723341b6d5d08627f2b1e9eff9b005ce839a4f9807cf87c1b29f202551
Contents?: true
Size: 300 Bytes
Versions: 21
Compression:
Stored size: 300 Bytes
Contents
if defined?(Mongoid::Document) require 'dragonfly' app = Dragonfly[:images] # Configure to use ImageMagick, Rails defaults app.configure_with(:imagemagick) # Allow all mongoid models to use the macro 'image_accessor' app.define_macro_on_include(Mongoid::Document, :image_accessor) end
Version data entries
21 entries across 21 versions & 2 rubygems