Scaffold some nested resources with rails https://gist.github.com/ashleygwilliams/8400440