change some 'unless' on 'if' in actionpack