Skip to content

Commit

Permalink
Updated containable.rst
Browse files Browse the repository at this point in the history
Corrected a description
  • Loading branch information
sumith committed Mar 28, 2014
1 parent bf6d4f3 commit 3c01cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/core-libraries/behaviors/containable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ by Daniel::
There is an important caveat to using Containable when filtering on a deeper association. In the previous example,
assume you had 3 posts in your database and Daniel had commented on 2 of those posts. The operation
$this->Post->find('all', array('contain' => 'Comment.author = "Daniel"')); would return ALL 3 posts, not
just the 3 posts that Daniel had commented on. It won't return all comments however, just comments by Daniel.::
just the 2 posts that Daniel had commented on. It won't return all comments however, just comments by Daniel.::

[0] => Array
(
Expand Down

0 comments on commit 3c01cfc

Please sign in to comment.