0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

バリデーションとは

Posted at

バリデーションとは

-パスワードや氏名などの入力値が、保存される前に、その値が有効なものなのか調べる仕組みのことを言う。
-バリデーションは文字数や入力値が空であるなどの条件を指定して、使用することができる。

例えば

validates :name;

この様に使うが、クラスメソッドに組み込まれていることが、見る限りだと多そう

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?