method

assert_valid_registration

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: TypeMapInitializer
assert_valid_registration(oid, oid_type) 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 101
          def assert_valid_registration(oid, oid_type)
            raise ArgumentError, "can't register nil type for OID #{oid}" if oid_type.nil?
            oid.to_i
          end
Register or log in to add new notes.