Comment Re:Rails, great for those fed up with J2EE. (Score 4, Informative) 235
Rails supports optimisting locking out of the box. Just add a lock_version column to your table and it will do the rest.
There is never time to do it right, but always time to do it over.