Generate table of contents for Rails 3.2 automatically