Namespaced Routes In Rails
Mar 27 2010 - By George Webster
Building out an application in Rails 2.3 I hit a stumbling block in trying to create a namespaced admin area for the application.
I wanted to do this in a RESTfull manor, and fully grasp the RESTfull routing best practices easily available in Rails 2.X.
I googled and form crawled quite a bit stumbling on many dead or older techniques. Fortunately I finally found this blog post which nicely walks through building of a basic blog application. Usage of nested routes, and basic Active Record associations. The whole article is great, but the gold lies towards the bottom where it walks through creating a namespaced route for managing the posts.