Hi all

I have two tables A and B
I have saved a record in table A and I want to save the id of that record 
in table B. How Can I do that.
Well I can do by search of same params which I save in Table A but I feel 
it is not that good approach.
If the app is has multiple users than that is not good way can any one help 
to do it better.



Thanks in Advance

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/47f826c0-aa8c-4b7b-8dd8-bd999fb7540b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to