Skip to content

Commit

Permalink
Merge pull request laravel#1582 from AndreasHeiberg/patch-1
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
taylorotwell committed Jan 10, 2013
2 parents ff7f6f6 + 4de7510 commit 2e82761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/documentation/database/eloquent.md
Expand Up @@ -520,7 +520,7 @@ Or, mass-assignment may be accomplished using the **fill** method.

$user->save();

By default, all attribute key/value pairs will be store during mass-assignment. However, it is possible to create a white-list of attributes that will be set. If the accessible attribute white-list is set then no attributes other than those specified will be set during mass-assignment.
By default, all attribute key/value pairs will be stored during mass-assignment. However, it is possible to create a white-list of attributes that will be set. If the accessible attribute white-list is set then no attributes other than those specified will be set during mass-assignment.

You can specify accessible attributes by assigning the **$accessible** static array. Each element contains the name of a white-listed attribute.

Expand Down

0 comments on commit 2e82761

Please sign in to comment.