method

association_key_name

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: BelongsTo

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

association_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/associations/preloader/belongs_to.rb, line 6
        def association_key_name
          reflection.options[:primary_key] || klass && klass.primary_key
        end
Register or log in to add new notes.