I\'m developing an ecommerce site in CodeIgniter and Active Records does not escape the single quote automatically. But in the documentation it is mentioned that Active reco