This simple approach sets a default title, but also let you override it whenever you please.
In app/views/layouts/application.html.erb:
<%= yield(:title) || 'my default title' %>
And to override that default, place this in any view you like
<% content_for :title, "some new title" %>