This is for learning purpose only and for quick insecure applications. Use not on production sites.
This is a sample navigation menu that creates links to index files of all your active record models.
You can plug into your rails 3 application in a jiffy.
In your Gemfile
In your application.css
*= require simple_nav
And in your layout partial:
<%= simple_nav %>
Use at your own peril!