Re: automatically destroy an object upon remove_association

2021-12-25 Thread Jeremy Evans
On Sat, Dec 25, 2021 at 10:53 PM jubishop wrote: > I would like to have an item automatically destroyed when a necessary > association has been removed via a call to a `remove_association` method. > I have achieved this right now with an extra bit of markup that looks like > this: > > ```ruby > c

automatically destroy an object upon remove_association

2021-12-25 Thread jubishop
I would like to have an item automatically destroyed when a necessary association has been removed via a call to a `remove_association` method. I have achieved this right now with an extra bit of markup that looks like this: ```ruby class Group < Sequel::Model one_to_many :members, remover: