Should be:

<%= image_tag "logo.png", id: "logo" %>