{"action":"closed","issue":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/116","repository_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model","labels_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/116/comments","events_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/116/events","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/116","id":137050859,"number":116,"title":"No method with that name (reset) in MY_Model or CI_Model.","user":{"login":"technical-hostingcastle","id":16815828,"avatar_url":"https://avatars.githubusercontent.com/u/16815828?v=3","gravatar_id":"","url":"https://api.github.com/users/technical-hostingcastle","html_url":"https://github.com/technical-hostingcastle","followers_url":"https://api.github.com/users/technical-hostingcastle/followers","following_url":"https://api.github.com/users/technical-hostingcastle/following{/other_user}","gists_url":"https://api.github.com/users/technical-hostingcastle/gists{/gist_id}","starred_url":"https://api.github.com/users/technical-hostingcastle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technical-hostingcastle/subscriptions","organizations_url":"https://api.github.com/users/technical-hostingcastle/orgs","repos_url":"https://api.github.com/users/technical-hostingcastle/repos","events_url":"https://api.github.com/users/technical-hostingcastle/events{/privacy}","received_events_url":"https://api.github.com/users/technical-hostingcastle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-28T13:01:47Z","updated_at":"2016-02-28T15:28:50Z","closed_at":"2016-02-28T15:28:50Z","body":"I have this on my controller:\r\n\r\n$query = $this->livecalls_model->on('db_server')->as_array()->get();\r\n$this->livecalls_model->reset();\r\n\r\nAnd this give me error: No method with that name (reset) in MY_Model or CI_Model.\r\n\r\nBut according to the readme documentation:\r\n\r\n> After this, I would advise you to do a $this->user_model->reset(); in order to reset the database connection to the model's (or application's) default."}}