Skip to content

Commit

Permalink
pluralizing association
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 24, 2013
1 parent c2c10a6 commit eb635cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/table-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ associations using the fluent interface::

$query = $articles->find('all')
->where(['Articles.created >' => new DateTime('-10 days')])
->contain(['Comments', 'Author'])
->contain(['Comments', 'Authors'])
->limit(10);

You can also provide many commonly used options to ``find()``. This can help
Expand Down

0 comments on commit eb635cd

Please sign in to comment.