# File lib/couchrest/mixins/extended_attachments.rb, line 48 def attachment_uri(attachment_name) return unless has_attachment?(attachment_name) "#{database.uri}/#{self.id}/#{attachment_name}" end