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



14
15
16
# File 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb', line 14

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