method

primary_key_column

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection::AssociationReflection
primary_key_column() 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 206
      def primary_key_column
        @primary_key_column ||= klass.columns.find { |c| c.name == klass.primary_key }
      end
Register or log in to add new notes.