Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

No easy way to delete only ONE tag in an association #5

Open
dlo opened this issue Apr 20, 2011 · 0 comments
Open

No easy way to delete only ONE tag in an association #5

dlo opened this issue Apr 20, 2011 · 0 comments

Comments

@dlo
Copy link

dlo commented Apr 20, 2011

In the README, the example to remove tags only shows how to delete ALL the tags in the model. Let's say I only want to remove one. How is that done?

If I do model.tags.get(1).destroy, that will destroy the Tag object. That's not what I want. I just want to remove the association. Thanks for the help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant