Enable redis locking of active record queries