         .done()
 
   fetchAuctionArtworks: ->
-    console.log 'auction'
     Q.promise (resolve) =>
       if @artwork.related?.__typename is 'RelatedSale'
         sale = new Sale @artwork.related

              @assignRail 'closed_auction_artworks', artworks.toJSON()
            else
              @assignRail 'current_auction_artworks', artworks.toJSON()

        resolve()
      else
        resolve()

  fetchShowArtworks: ->
    console.log 'show'
    Q.promise (resolve) =>
      if @artwork.shows.length
        partner = new Partner id: @artwork.shows[0].partner.id

    data = _.defaults options, defaults

  assignRail: (id, collection) ->
    if collection.length >= @minCount
      @rails[id] = collection
      @excludedIds = @excludedIds.concat _.pluck(collection, '_id')
