# File lib/dragonfly/active_model_extensions/attachment_class_methods.rb, line 114 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