method

record_id

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::BelongsToAssociation
record_id(record) private

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/associations/belongs_to_association.rb, line 77
        def record_id(record)
          record.send(@reflection.options[:primary_key] || :id)
        end
Register or log in to add new notes.