Backport #25364 to 4-2-stable by kamipo · Pull Request #25565 · rails/rails
This PR is backport #25364 to 4-2-stable. Currently Type::Date#serialize does not cast a value to a date object. It should be cast to a date object for finding by date column correctly working. Fix...