Skip to content

Commit

Permalink
[ja] Update part-two.rst
Browse files Browse the repository at this point in the history
Validation::notEmpty() is deprecated. Use Validation::notBlank() instead.
  • Loading branch information
hase-done committed Aug 29, 2017
1 parent ff9a265 commit 880b2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ja/tutorials-and-examples/blog/part-two.rst
Expand Up @@ -388,10 +388,10 @@ Post モデルを見直して、幾つか修正してみましょう::
class Post extends AppModel {
public $validate = array(
'title' => array(
'rule' => 'notEmpty'
'rule' => 'notBlank'
),
'body' => array(
'rule' => 'notEmpty'
'rule' => 'notBlank'
)
);
}
Expand Down

0 comments on commit 880b2f0

Please sign in to comment.