Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #116 from davidyell/develop
Browse files Browse the repository at this point in the history
Fixed a typo in the example
  • Loading branch information
davidyell committed Jun 3, 2015
2 parents 3e433af + f0f4543 commit d251bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function _initializeSchema(\Cake\Database\Schema\Table $table)

###Entities
Your entity must allow the associated field in it's `$_accessible` array. So in our
example we need to check that the `'user_id' => true` is included.
example we need to check that the `'user_images' => true` is included in our `User` entity.

###Controller
No changes need to be made to standard controller code as Cake will automatically save any
Expand Down
1 change: 1 addition & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ ADD COLUMN `photo` VARCHAR(255),
ADD COLUMN `photo_dir` VARCHAR(255)
```

Don't forget to ensure that the fields are present in your entities `$_accessible` array.

[< Readme](../README.md) | [Configuration >](configuration.md)

0 comments on commit d251bc1

Please # to comment.