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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Anyone? Am I including enough info? On Mar 27, 10:41 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Is this what you are looking for? http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes -Danimal On Mar 29, 9:24 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Anyone? Am I including enough info? > > On Mar 27, 10:41 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No, I have to run 2.1.0 due to fcgi on windows. On Tue, Mar 31, 2009 at 11:00 AM, Danimal <fightonfightwell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > Is this what you are looking for? > > http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes > > -Danimal > > On Mar 29, 9:24 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Anyone? Am I including enough info? > > > > On Mar 27, 10:41 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > 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. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
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. On Tue, Mar 31, 2009 at 11:00 AM, Danimal <fightonfightwell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > Is this what you are looking for? > > http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes > > -Danimal > > On Mar 29, 9:24 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Anyone? Am I including enough info? > > > > On Mar 27, 10:41 pm, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > 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. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---