-
Daniel Colson authored
https://github.com/rails/rails/pull/42773 introduced a regression where looking up an unregistered type on a TypeMap with a parent (like [mysql2 TYPE_MAP_WITH_BOOLEAN](https://github.com/rails/rails/blob/88ec15b850790a06bd8dcfe59ca05d865f458c7c/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb#L618 ) would cause a `LocalJumpError` This commit fixes the error by forwarding the default block when fetching from the parent TypeMap. Co-authored-by:
Chris Bloom <chrisbloom7@gmail.com>
Daniel Colson authoredhttps://github.com/rails/rails/pull/42773 introduced a regression where looking up an unregistered type on a TypeMap with a parent (like [mysql2 TYPE_MAP_WITH_BOOLEAN](https://github.com/rails/rails/blob/88ec15b850790a06bd8dcfe59ca05d865f458c7c/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb#L618 ) would cause a `LocalJumpError` This commit fixes the error by forwarding the default block when fetching from the parent TypeMap. Co-authored-by:
Chris Bloom <chrisbloom7@gmail.com>
Loading