Remove deprecated AR::Connection#clear_stale_cached_connections! method
Merge pull request #11231 from neerajdotname/deprecated-type-cast-code

Removed deprecated method type_cast_code from Column
Merge pull request #11230 from frodsan/remove_deprecated_clear_stale_cached_connections_method

Remove AR::Connection#clear_stale_cached_connections! deprecated method
calling default_scope without a proc will raise ArgumentError

Calling default_scope without a proc will now raise `ArgumentError`.