Lock to specific active record version