Rails 6 gem client_side_validations applied to a model with context not working

后端 未结 0 905
天涯浪人
天涯浪人 2020-11-21 04:40

I have a model like this:

class Profile < ApplicationRecord
  validates :username, presence: true, on: :data_setup
end

where :data_s

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