lib/formulario/form.rb in formulario-0.1.1b vs lib/formulario/form.rb in formulario-0.1.1

- old
+ new

@@ -80,15 +80,9 @@ default: default, validators: [], } - # TODO: TEST AND CHANGE THIS - if field_type == ::Formulario::Form - default = ::Formulario::FormField[field_type.default] - end - - define_method(field_name) do __fields.dig(field_name.to_sym, :value) end define_method("set_#{field_name}") do |raw_value|