# Many to many question

**URL:** <https://www.ruby-forum.com/t/many-to-many-question/164120>\
**Category:** Rails\
**Created:** [March 28, 2009, 4:41am UTC](https://www.ruby-forum.com/t/many-to-many-question/164120 "2009-03-28T04:41:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigdaddy71](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Post date:** [March 28, 2009, 4:41am UTC](https://www.ruby-forum.com/t/many-to-many-question/164120/1 "2009-03-28T04:41:56Z")

</div>

I have a form that has an inline contact creation form to create a  
contact that will be associated to the form. How do I make it so when  
the from is submitted I can associate the contact to the form without  
doing a build? This will create a new contact and will create the  
relationship but then I will have two contacts one with a relation and  
one without.

---

<div class="post-metadata">

**Author:** ![bigdaddy71](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Post date:** [March 30, 2009, 5:25am UTC](https://www.ruby-forum.com/t/many-to-many-question/164120/2 "2009-03-30T05:25:15Z")

</div>

Anyone? Am I including enough info?

---

<div class="post-metadata">

**Author:** ![bigdaddy71](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Post date:** [March 31, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/many-to-many-question/164120/3 "2009-03-31T18:01:25Z")

</div>

Is this what you are looking for?  
[http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes](http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes)

-Danimal

---

<div class="post-metadata">

**Author:** ![bigdaddy71](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Post date:** [March 31, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/many-to-many-question/164120/4 "2009-03-31T18:07:16Z")

</div>

No, I have to run 2.1.0 due to fcgi on windows.

---

<div class="post-metadata">

**Author:** ![bigdaddy71](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Post date:** [March 31, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/many-to-many-question/164120/5 "2009-03-31T18:12:33Z")

</div>

Actually yes I have seen quite a bit on rails 2.3 but unable to use due  
to  
FCGI not working with the extra stack.
