Module: ActiveScaffold::Bridges::DatePicker::AttributeParams

Defined in:
lib/active_scaffold/bridges/date_picker/ext.rb

Instance Method Summary collapse

Instance Method Details

#datetime_conversion_for_value(column) ⇒ Object



37
38
39
40
41
42
43
# File 'lib/active_scaffold/bridges/date_picker/ext.rb', line 37

def datetime_conversion_for_value(column)
  if column.form_ui == :date_picker
    :to_date
  else
    super
  end
end