TokiTranslate/app/models/language.rb

7 lines
123 B
Ruby
Raw Normal View History

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