# File lib/dragonfly/model/attachment.rb, line 135 def retained_attrs attribute_keys.inject({}) do |hash, key| hash[key] = send(key) hash end if retained? end