Fixed to be able to save a specific column empty with active record

solution

I was able to solve it by adding allow_blank as shown below

validates :something, allow_blank: true

Reference article

Validate attribute only if it present (only if user fill in it)

Recommended Posts

Fixed to be able to save a specific column empty with active record
I want to be able to read a file using refile with administrate [rails6]
Minecraft BE Tap with a wooden sword to jump
I want to monitor a specific file with WatchService
I tried to be able to pass multiple objects with Ractor
I want to convert an array to Active Record Relation with Rails