lib/formulaic/form.rb in formulaic-0.3.0 vs lib/formulaic/form.rb in formulaic-0.4.0
- old
+ new
@@ -6,10 +6,11 @@
ActiveSupport::TimeWithZone => Formulaic::Inputs::DateInput,
Date => Formulaic::Inputs::DateInput,
DateTime => Formulaic::Inputs::DateTimeInput,
Array => Formulaic::Inputs::ArrayInput,
String => Formulaic::Inputs::StringInput,
- Fixnum => Formulaic::Inputs::StringInput,
+ Symbol => Formulaic::Inputs::StringInput,
+ 1.class => Formulaic::Inputs::StringInput,
Float => Formulaic::Inputs::StringInput,
TrueClass => Formulaic::Inputs::BooleanInput,
FalseClass => Formulaic::Inputs::BooleanInput,
File => Formulaic::Inputs::FileInput,
}.freeze