Class: ActiveRecord::Reflection::AbstractReflection::JoinKeys

Inherits:
Struct
  • Object
show all
Defined in:
activerecord/lib/active_record/reflection.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



169
170
171
# File 'activerecord/lib/active_record/reflection.rb', line 169

def foreign_key
  @foreign_key
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



169
170
171
# File 'activerecord/lib/active_record/reflection.rb', line 169

def key
  @key
end