Forum: Ruby on Rails To get the id value from parent table to child table

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
17da318855d695d08408ded419132012?d=identicon&s=25 Balaji Rajagopalan (balajirajagopalan)
on 2008-12-08 10:53
(Received via mailing list)
Hi
Im using 5 tables and one parent table and 4 child tables

To get the id value from parent table to child table.To store the values
in
databases and display the bugs

parent table id is compare to child table is resortid
code
using save page
................................................
@resort_contact.resortid=@resort_basic.id
  child table id=parent table id

To give any idea and any link
Thanks
This topic is locked and can not be replied to.