回答編集履歴

2

変数名間違い

2018/11/20 01:03

投稿

tomcat0090
tomcat0090

スコア66

test CHANGED
@@ -44,6 +44,6 @@
44
44
 
45
45
  [https://book.cakephp.org/3.0/ja/orm/entities.html#id7](https://book.cakephp.org/3.0/ja/orm/entities.html#id7)
46
46
 
47
- ここにあるように `$article->setDirty('comments', true);` をしてあげれば
47
+ ここにあるように `$article->setDirty('address', true);` をしてあげれば
48
48
 
49
49
  Dirty をたてることが出来ます。

1

リンクになっていなかった。

2018/11/20 01:03

投稿

tomcat0090
tomcat0090

スコア66

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- https://book.cakephp.org/3.0/ja/orm/entities.html#Cake\ORM\Entity::set
7
+ [https://book.cakephp.org/3.0/ja/orm/entities.html#Cake\ORM\Entity::set](https://book.cakephp.org/3.0/ja/orm/entities.html#Cake\ORM\Entity::set)
8
8
 
9
9
 
10
10
 
@@ -42,7 +42,7 @@
42
42
 
43
43
  一応、質問内容のそのものの答えとしては
44
44
 
45
- https://book.cakephp.org/3.0/ja/orm/entities.html#id7
45
+ [https://book.cakephp.org/3.0/ja/orm/entities.html#id7](https://book.cakephp.org/3.0/ja/orm/entities.html#id7)
46
46
 
47
47
  ここにあるように `$article->setDirty('comments', true);` をしてあげれば
48
48