lib/formulaic/form.rb in formulaic-0.0.5 vs lib/formulaic/form.rb in formulaic-0.0.6

- old
+ new

@@ -5,9 +5,10 @@ ATTRIBUTE_INPUT_MAP = { ActiveSupport::TimeWithZone => Formulaic::Inputs::DateInput, Date => Formulaic::Inputs::DateInput, Array => Formulaic::Inputs::ArrayInput, String => Formulaic::Inputs::StringInput, + Fixnum => Formulaic::Inputs::StringInput, TrueClass => Formulaic::Inputs::BooleanInput, FalseClass => Formulaic::Inputs::BooleanInput, }.freeze def initialize(model_name, attributes)