method

primary_key_column

rails latest stable - Class: ActiveRecord::Reflection::AssociationReflection

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

primary_key_column()
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 262
      def primary_key_column
        klass.columns_hash[klass.primary_key]
      end