Historic ruling puts Dream Act on the ballot