This monkey patch is for test_additional_columns_from_join_table
Source: show | on GitHub
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 12 def to_date Date.new(year, month, day) end