# File lib/mongoid/relations/metadata.rb, line 274 def foreign_key @foreign_key ||= determine_foreign_key end