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



50
51
52
53
54
55
56
# File 'lib/active_scaffold/bridges/date_picker/ext.rb', line 50

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