method

primary_key_type

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ModelMetadata
primary_key_type() public

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/fixture_set/model_metadata.rb, line 14
      def primary_key_type
        @primary_key_type ||= @model_class && @model_class.type_for_attribute(@model_class.primary_key).type
      end
Register or log in to add new notes.