balaji rajagopal
2008-Dec-08 08:14 UTC
To get the id value from parent table to child table
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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
balaji rajagopal
2008-Dec-08 09:53 UTC
To get the id value from parent table to child table
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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---