Method: Graphiti::Sideload::PolymorphicBelongsTo#infer_foreign_key

Defined in:
lib/graphiti/sideload/polymorphic_belongs_to.rb

#infer_foreign_keyObject



81
82
83
# File 'lib/graphiti/sideload/polymorphic_belongs_to.rb', line 81

def infer_foreign_key
  :"#{name}_id"
end