In 2005 , a federal judge in Sacramento found in favor of Newdow , ruling the pledge was unconstitutional because its reference to " one nation under God " violates children 's rights to be " free from a coercive requirement to affirm God . "