I have Person model in that i have used STI like class person < ActiveRecord class student <person class parent < person
for every thing i have table called people. when i am adding a student i have fields for parent also like i want to add a student with firstname and last name and at the same time i mean in the same form i wnat to add to which parent he belongs to in the same form i have fields like parent name, email, address can u give idea abt this --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

