I'm not quite sure what you're after, but my guess is you want to
associate children and filtersetting objects. Have you set up an
association in the model files?

On Thu, Feb 26, 2009 at 2:04 AM, Swarna Priya
<rails-mailing-l...@andreas-s.net> wrote:
> I have two models Child.rb and Filtersetting.rb I have written the code
> for inserting into both models with many rows at the same time. It works
> fine. The issue is that I need the childname entered correspondingly by
> the user to be transferred to the Filtersetting table.
[...]
> The issue is I want to store the childname and childid in Filtersetting
> table. That is the first childname and childid corresponding to first
> one in Filtersetting table.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to