app/models/linked_rails/form.rb in linked_rails-0.0.4.pre.g792a1b887 vs app/models/linked_rails/form.rb in linked_rails-0.0.4.pre.g92825d924
- old
+ new
@@ -118,10 +118,10 @@
group
end
def has_many(key, **opts)
opts[:input_field] = Form::Field::AssociationInput
- opts[:max_count] ||= 99
+ opts[:max_count] = 99
field(key, **opts)
end
def has_one(key, **opts)
opts[:input_field] = Form::Field::AssociationInput