# Looking for Rails 2.0 (edge) nested ressource example

**URL:** <https://www.ruby-forum.com/t/looking-for-rails-2-0-edge-nested-ressource-example/121122>\
**Category:** Rails\
**Created:** [November 24, 2007, 2:12am UTC](https://www.ruby-forum.com/t/looking-for-rails-2-0-edge-nested-ressource-example/121122 "2007-11-24T02:12:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [November 24, 2007, 2:12am UTC](https://www.ruby-forum.com/t/looking-for-rails-2-0-edge-nested-ressource-example/121122/1 "2007-11-24T02:12:53Z")

</div>

I am looking to see if anyone has taken the scaffold code and made is  
work with a nested resource. I am having a brain block on what what  
url’s I should be using and what objects should be passed around. Here  
is my model code.

class Project \< ActiveRecord::Base  
has\_many :tasks  
end

class Task \< ActiveRecord::Base  
has\_one :project  
end

Thanks  
Chris
