{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/5625","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/5625/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/5625/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/5625/events","html_url":"https://github.com/cakephp/cakephp/issues/5625","id":53916179,"number":5625,"title":"3.0 - Question - Contain filtering through find and get","user":{"login":"andtxr","id":7216884,"avatar_url":"https://avatars.githubusercontent.com/u/7216884?v=3","gravatar_id":"","url":"https://api.github.com/users/andtxr","html_url":"https://github.com/andtxr","followers_url":"https://api.github.com/users/andtxr/followers","following_url":"https://api.github.com/users/andtxr/following{/other_user}","gists_url":"https://api.github.com/users/andtxr/gists{/gist_id}","starred_url":"https://api.github.com/users/andtxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andtxr/subscriptions","organizations_url":"https://api.github.com/users/andtxr/orgs","repos_url":"https://api.github.com/users/andtxr/repos","events_url":"https://api.github.com/users/andtxr/events{/privacy}","received_events_url":"https://api.github.com/users/andtxr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Question","name":"Question","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/7","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/7/labels","id":453043,"number":7,"title":"3.0.0","description":"New major release that breaks compatibility with 2.x\r\n\r\n- PHP5.4.19+\r\n- New ORM & behaviors.\r\n- Improved Routing\r\n- PSR-0 and composer support.\r\n- Simpler configuration and bootstrapping.\r\n- Improved configuration handling.\r\n- Improved bake.\r\n\r\nSee [the roadmap](http://github.com/cakephp/cakephp/wiki/3.0-roadmap) for more details.","creator":{"login":"lh-import","id":5175817,"avatar_url":"https://avatars.githubusercontent.com/u/5175817?v=3","gravatar_id":"","url":"https://api.github.com/users/lh-import","html_url":"https://github.com/lh-import","followers_url":"https://api.github.com/users/lh-import/followers","following_url":"https://api.github.com/users/lh-import/following{/other_user}","gists_url":"https://api.github.com/users/lh-import/gists{/gist_id}","starred_url":"https://api.github.com/users/lh-import/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lh-import/subscriptions","organizations_url":"https://api.github.com/users/lh-import/orgs","repos_url":"https://api.github.com/users/lh-import/repos","events_url":"https://api.github.com/users/lh-import/events{/privacy}","received_events_url":"https://api.github.com/users/lh-import/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":2114,"state":"open","created_at":"2013-10-11T20:56:23Z","updated_at":"2015-01-09T21:22:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-09T21:20:50Z","updated_at":"2015-01-09T21:22:59Z","closed_at":"2015-01-09T21:22:59Z","body":"I had tried the following approach, but it only worked through find:\r\n\r\nhttps://gist.github.com/andtxr/7c3cb3b65d8ad39c1242\r\n\r\nShouldn't the get method nesting contain method?"}}