Flowdock
method

join_keys

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: BelongsToReflection
join_keys(assoc_klass) 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/reflection.rb, line 614
      def join_keys(assoc_klass)
        key = polymorphic? ? association_primary_key(assoc_klass) : association_primary_key
        JoinKeys.new(key, foreign_key)
      end
Register or log in to add new notes.