Validating decimal scale in Ruby on Rails

前端 未结 0 1352
抹茶落季
抹茶落季 2021-02-06 04:40

I\'m new to Ruby on Rails. I have the following model:

class Logo < ApplicationRecord
  validates :name, presence: true,  length: { maximum: 255 }
  validates          


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