Soc/app/models/food.rb

4 lines
69 B
Ruby
Raw Normal View History

2023-12-29 11:27:45 +00:00
class Food < ApplicationRecord
validates :name, presence: true
end