search for: tenerd

Displaying 1 result from an estimated 1 matches for "tenerd".

Did you mean: tener
2011 Nov 12
3
complex form with dynamic fields.
...9;'ve seen http://railscasts.com/episodes/73-complex-forms-part-1, part2 and part3. It seems to be my case. I have: Company has_many :documents has_many :tenders, :through.......... and Document belongs_to :company Tender has_many :companies, :through.......... I want to insert documents and tenerds on company creation. If documents are more than one the user can click "add another" and other fields are added to form. It seems ok but I fear that it makes too complex my code. I think it is better to insert a Company and after saved it then add one or more documents or tenders in diff...