I am using render to redirect to a page. If this page has errors they
get displayed. There are a number of times where I have to call render.
There are also a number of collections on the page
@somecollection = SomeModel.find(:all)
Currently i call each collection with each render statement. This
results in a lot of repeat code. Is there a way to define a method that
will be called each time the page is renderd?