class PartOfSpeech < ApplicationRecord belongs_to :language has_many :translations, class_name: "PartOfSpeech", foreign_key: "part_of_speech_id" end