I have two models: store and category with a join table categories.stores .
How can I delete all relationship data for a store object in a connection table?
Can I use something like this:
store.categories.destroy or category.stores.destroy
Note. both models: has_and_belongs_to_many (and therefore without an identifier for each association entry - only store_id and category_id)
source share