obelich of Property-Management
11/15/2017 - 6:05 PM

RbModHasManyNested

has_many :$Modelo$,, dependent: :destroy
accepts_nested_attributes_for :$Modelo$, allow_destroy: true, reject_if: proc { |att| att['$Campo$'].blank? }