HI all, I have 2 tables: groups and items. The relation is 1-* (each group has many items). In reality each groups should have at least 4 items. How can I implement an input form so I can input 4 items at the same time? And how can I validate the input to ensure that each group must have >=4 items? Thank you so much for replies. -- ruby/rails newbie -- 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 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 -~----------~----~----~----~------~----~------~--~---