method

register_with_subtype

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: TypeMapInitializer
register_with_subtype(oid, target_oid) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb, line 93
          def register_with_subtype(oid, target_oid)
            if @store.key?(target_oid)
              register(oid) do |_, *args|
                yield @store.lookup(target_oid, *args)
              end
            end
          end
Register or log in to add new notes.