TokiTranslate/app/models/language.rb
2023-10-24 23:47:01 -04:00

7 lines
123 B
Ruby

class Language < ApplicationRecord
has_many :definitions
has_many :part_of_speeches
validates_presence_of :name
end