Use self.send(:sanitize_sql.. instead of invoking method directly.