Class: Ezframe::DatetimeType

Inherits:
DateType show all
Defined in:
lib/ezframe/column_type.rb

Instance Attribute Summary

Attributes inherited from TypeBase

#attribute, #error, #parent

Instance Method Summary collapse

Methods inherited from DateType

#form, #value, #value=, #view

Methods inherited from TextType

#form, #normalize, #value=

Methods inherited from TypeBase

#db_value, #form, #form_html, get_class, #initialize, #key, #label, #multi_inputs?, #no_edit?, #no_view?, #normalize, type_name, #validate, #value, #value=, #view

Constructor Details

This class inherits a constructor from Ezframe::TypeBase

Instance Method Details

#db_typeObject



331
332
333
# File 'lib/ezframe/column_type.rb', line 331

def db_type
  "timestamp"
end