When testing, I sometimes modify a parent object, save it, but then
get tripped up bc the dependents do not reflect the change (maybe that
should be obvious.)
I’m wondering, is there a command that saves an ActiveRecord instance
and all its dependents?
When testing, I sometimes modify a parent object, save it, but then
get tripped up bc the dependents do not reflect the change (maybe that
should be obvious.)
I’m wondering, is there a command that saves an ActiveRecord instance
and all its dependents?
Why should you need to save the dependents if it is only the parent
that you have modified?
I think he wants to change a child with fields_for and but my not be
aware
that the method exist, its the only way i can make sense out of his
question
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.