Merge branch 'master' of github.com:laravel/laravel into develop

This commit is contained in:
Taylor Otwell 2013-01-10 16:20:09 -06:00
commit c9faa957a3
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ ## Mass-Assignment
$user->save(); $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. You can specify accessible attributes by assigning the **$accessible** static array. Each element contains the name of a white-listed attribute.