CollectionForm creates SubForm objects based on the records number. Also it initializes the has_many association.