# File lib/dragonfly/model/attachment_class_methods.rb, line 110 def ensure_uses_cached_magic_attributes return if @uses_cached_magic_attributes magic_attributes.each do |attr| define_method attr do magic_attribute_for(attr) end end @uses_cached_magic_attributes = true end