method

new_date

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Column
new_date(year, mon, mday) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 176
          def new_date(year, mon, mday)
            if year && year != 0
              Date.new(year, mon, mday) rescue nil
            end
          end
Register or log in to add new notes.