Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
262 views

Why I need to select image again after validation failed

I have two models class ComfortFactorSubCategory < ApplicationRecord has_one :image, as: :imageable, dependent: :destroy validates :heading, presence: true accepts_nested_attributes_for :...
Asnad Atta's user avatar
  • 4,003