showing a validation error message when providing invalid input in simple_form in ruby on rails

前端 未结 0 1174
自闭症患者
自闭症患者 2021-01-21 20:42

for a simple MVC app in ruby on rails I have a model set up:

model:

class Cake < ApplicationRecord
  has_many :doses, dependent: :destroy
  has_many :in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题