Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Optimistic locking not being honoured #6

Open
BenPerry opened this issue Sep 16, 2010 · 1 comment
Open

Optimistic locking not being honoured #6

BenPerry opened this issue Sep 16, 2010 · 1 comment

Comments

@BenPerry
Copy link

Any list update operation that uses update_all (decrement_positions_on_higher_items, decrement_positions_on_lower_items, increment_positions_on_higher_items, increment_positions_on_lower_items, increment_positions_on_all_items) is not updating the locking_column which can cause concurrency problems when the list can be edited by multiple users simultaneously.

@arcasys
Copy link

arcasys commented Dec 2, 2010

This affects me, too. acts_as_list is a nice plugin that would be worth to be part of AR if only there was better documentation. I don't talk about bugs because I'm not sure if I'm handling it correctly.
However, the optimistic locking problem seems to be obvious.

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

2 participants