Re: [Rails] One model, two registrations, one form

2014-02-11 Thread Ehtsham Abbas
Try to describe it more clearly. Let me give you an example scenario: Model is user. Where you want to register multiple users in same form. Simple RHTML/HTML to display form and button to clone the form below. You can regenerate same html with javascript and name the text_field with index lik

Re: [Rails] One model, two registrations, one form

2014-02-08 Thread Walter Lee Davis
There is also the nested form setup, but your objects will need a common parent. Can you sketch out your use-case, including any related models? There may be a simple solution that your question doesn't trigger in those of us who have read it. Walter On Feb 8, 2014, at 5:02 AM, Phillip wrote:

Re: [Rails] One model, two registrations, one form

2014-02-07 Thread tamouse pontiki
On Fri, Feb 7, 2014 at 4:24 PM, David Meneses wrote: > Hi, how can i register two rows of the same model in one form? What, exactly, do you mean by "register" ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this gr

[Rails] One model, two registrations, one form

2014-02-07 Thread David Meneses
Hi, how can i register two rows of the same model in one form? -- Posted via http://www.ruby-forum.com/. -- 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