サクサク読めて、アプリ限定の機能も多数!
":allow_blank is an option that will "disable" several of the validators, but not the presence validator."
suginoy のブックマーク 2014/02/28 20:42
Understanding Rails validation: what does allow_blank do?[Rails]":allow_blank is an option that will "disable" several of the validators, but not the presence validator."2014/02/28 20:42
":allow_blank is an option that will "disable" several of the validators, but not the presence validator."
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2014/02/28
I'm quite new to Rails and found a little snippet to validate presence and uniqueness step by step: first check presence, then check uniqueness. validates :email, :presence => true, :allow_blank =>...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
":allow_blank is an option that will "disable" several of the validators, but not the presence validator."
suginoy のブックマーク 2014/02/28 20:42
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Understanding Rails validation: what does allow_blank do?
stackoverflow.com2014/02/28
I'm quite new to Rails and found a little snippet to validate presence and uniqueness step by step: first check presence, then check uniqueness. validates :email, :presence => true, :allow_blank =>...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /