Flagship Docs rewritten for Rails 4