method

primary_key_name

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection::AssociationReflection
primary_key_name() 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/reflection.rb, line 140
      def primary_key_name
        @primary_key_name ||= options[:foreign_key] || derive_primary_key_name
      end
Register or log in to add new notes.