From f53f07df4a59a3a35ed8fc07711b6d440d433ef9 Mon Sep 17 00:00:00 2001 From: Shawn McCool Date: Wed, 3 Oct 2012 13:24:05 +0300 Subject: [PATCH] Update laravel/documentation/database/eloquent.md minor grammar update in docs --- laravel/documentation/database/eloquent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/database/eloquent.md b/laravel/documentation/database/eloquent.md index 5c36e292..f1643717 100644 --- a/laravel/documentation/database/eloquent.md +++ b/laravel/documentation/database/eloquent.md @@ -261,7 +261,7 @@ Many-to-many relationships are the most complicated of the three relationships. user_id - INTEGER role_id - INTEGER -Tables contain many records and are consequently plural. Pivot tables used in **has\_many\_and\_belongs\_to** relationships are named by combining the singular names of the two related models arranged alphabetically and concatenated them with an underscore. +Tables contain many records and are consequently plural. Pivot tables used in **has\_many\_and\_belongs\_to** relationships are named by combining the singular names of the two related models arranged alphabetically and concatenating them with an underscore. Now you're ready to define the relationship on your models using the **has\_many\_and\_belongs\_to** method: