I think if @answers is an empty collection, `render :answer, collection: @answers` will mean you don't need to use an if.