method

record_id

rails latest stable - Class: ActiveRecord::Associations::BelongsToAssociation

Method deprecated or moved

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

record_id(record)
private

No documentation available.

# File activerecord/lib/active_record/associations/belongs_to_association.rb, line 77
        def record_id(record)
          record.send(@reflection.options[:primary_key] || :id)
        end