# File lib/couchdb_adapter/attachments.rb, line 98
          def attachment_path(name)
            if new_record?
              nil
            else
              "/#{repository.adapter.escaped_db_name}/#{self.id}/#{name}"
            end
          end