{"action":"created","issue":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/152","repository_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model","labels_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/152/comments","events_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/152/events","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/152","id":162556451,"number":152,"title":"Relationships Neasted","user":{"login":"rodyoukai","id":15165226,"avatar_url":"https://avatars.githubusercontent.com/u/15165226?v=3","gravatar_id":"","url":"https://api.github.com/users/rodyoukai","html_url":"https://github.com/rodyoukai","followers_url":"https://api.github.com/users/rodyoukai/followers","following_url":"https://api.github.com/users/rodyoukai/following{/other_user}","gists_url":"https://api.github.com/users/rodyoukai/gists{/gist_id}","starred_url":"https://api.github.com/users/rodyoukai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodyoukai/subscriptions","organizations_url":"https://api.github.com/users/rodyoukai/orgs","repos_url":"https://api.github.com/users/rodyoukai/repos","events_url":"https://api.github.com/users/rodyoukai/events{/privacy}","received_events_url":"https://api.github.com/users/rodyoukai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T21:49:04Z","updated_at":"2016-06-28T18:26:37Z","closed_at":null,"body":"Hi, sorry to bother you so much.\r\n\r\nI try to do the following:\r\n\r\n$aplicaciones2 = $ this->aplicaciones->where ('id_empresa' $ id_empresa)->with_tests (array ('with' => array( 'relation' => 'reactivos')))->get_all ();\r\n\r\nRelationships work perfectly independently, but if I try to nest the second (reactive) don't work.\r\n\r\nRelationships are as follows:\r\n\r\naplicaciones - has_many_pivot - tests\r\n\r\ntests - has_many - reactivos"},"comment":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/comments/229138725","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/152#issuecomment-229138725","issue_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/152","id":229138725,"user":{"login":"avenirer","id":3034772,"avatar_url":"https://avatars.githubusercontent.com/u/3034772?v=3","gravatar_id":"","url":"https://api.github.com/users/avenirer","html_url":"https://github.com/avenirer","followers_url":"https://api.github.com/users/avenirer/followers","following_url":"https://api.github.com/users/avenirer/following{/other_user}","gists_url":"https://api.github.com/users/avenirer/gists{/gist_id}","starred_url":"https://api.github.com/users/avenirer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avenirer/subscriptions","organizations_url":"https://api.github.com/users/avenirer/orgs","repos_url":"https://api.github.com/users/avenirer/repos","events_url":"https://api.github.com/users/avenirer/events{/privacy}","received_events_url":"https://api.github.com/users/avenirer/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T18:26:36Z","updated_at":"2016-06-28T18:26:36Z","body":"can I see how you defined the models? the code, preferably... and also how the tables look..."}}
{"actor":{"display_login":"avenirer"}}