Rails gem to support ActiveRecord record locking