If I have an application.rhtml template what’s the best way to set
the contents of title element in the html -> head area of the
template to something set in the view for action in a controller. I
want to just have one template which renders the basic layout for all
pages and I’ve been scratching my head over this one for a couple of
Any help gratefully received.