Chris Williams
2007-Nov-24 01:12 UTC
Looking for Rails 2.0 (edge) nested ressource example
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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---