v2.65.0
-
Raise
ArgumentError
when conflicting Slots are defined.Before this change it was possible to define Slots with conflicting names, for example:
class MyComponent < ViewComponent::Base renders_one :item renders_many :items end
Joel Hawksley