method
new_date
new_date(year, mon, mday)
protected
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 179 def new_date(year, mon, mday) if year && year != 0 Date.new(year, mon, mday) rescue nil end end