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