Hungary has become the second country to ratify the European Union 's constitution .