Class: Mysql::Time

Inherits:
Object show all
Defined in:
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb

Instance Method Summary collapse

Instance Method Details

#to_dateObject

This monkey patch is for test_additional_columns_from_join_table



12
13
14
# File 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb', line 12

def to_date
  Date.new(year, month, day)
end