rails datetime data type entered as string? code example
Example: active record type date
:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean
:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean