Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Deleting won't work on edge #1

Closed
wildchild opened this Issue Aug 20, 2009 · 0 comments

Comments

Projects
None yet
1 participant

Code is more descriptive than any word:
@person = Person.first
@person.tasks = [{:id => 1, :_delete => true}]
@person.save
And task is still there

@person = Person.first
puts @person.tasks # Just preload it
@person.tasks = [{:id => 1, :_delete => true}]
@person.save

Now it works as expected.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment