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