lib/phlexi/form/builder.rb in phlexi-form-0.8.2 vs lib/phlexi/form/builder.rb in phlexi-form-0.8.3
- old
+ new
@@ -173,25 +173,13 @@
def has_one_tag(**, &)
raise NotImplementedError, "has_one associations are NOT supported"
end
- def polymorphic_has_one_tag(**, &)
- # TODO: this requires a grouped_select component
- # see: Plutonium::Core::Fields::Inputs::PolymorphicBelongsToAssociationInput
- raise NotImplementedError, "polymorphic has_one associations are not YET supported"
- end
-
def has_many_tag(**, &)
create_component(Components::HasMany, :has_many, **, &)
end
alias_method :has_and_belongs_to_many_tag, :has_many_tag
-
- def polymorphic_has_many_tag(**, &)
- # TODO: this requires a grouped_select component
- # see: Plutonium::Core::Fields::Inputs::PolymorphicBelongsToAssociationInput
- raise NotImplementedError, "polymorphic has_many associations are not YET supported"
- end
def input_array_tag(**, &)
create_component(Components::InputArray, :array, **, &)
end