I think you've duplicated some of the layout, perhaps you meant header instead of head, but additionally you should only have one html, head, and body tag and these are already in app/views/layouts/application.html.erb