lib/formulaic/form.rb in formulaic-0.1.3 vs lib/formulaic/form.rb in formulaic-0.1.4
- old
+ new
@@ -3,9 +3,10 @@
module Formulaic
class Form
ATTRIBUTE_INPUT_MAP = {
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,
TrueClass => Formulaic::Inputs::BooleanInput,
FalseClass => Formulaic::Inputs::BooleanInput,