Hi all,
I know it’s stupid, i am having this problem that is :dependant option
don’t
work in all it’s
values [:destroy, :delete_all, :nullify].
child items don’t be deleted when parent item does.
any idea?
thanks in advance,
Mostafa Badawi
Hi all,
I know it’s stupid, i am having this problem that is :dependant option
don’t
work in all it’s
values [:destroy, :delete_all, :nullify].
child items don’t be deleted when parent item does.
any idea?
thanks in advance,
Mostafa Badawi
Hi,
could you tell us a bit more? What is your association?
has_and_belongs_to_many, has_many, has_one… etc?
It’s *has_many.
*
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs