active record version issues