0
나는 다음과 같은 유효성 검사를 사용하는 경우 :사용자 정의 유효성 검사 메시지가 3.0
Lgtitle Please reduce the number of characters used in the Before Like Title. The maximum is 45 characters.
을 제거하는 가장 좋은 방법은 무엇입니까 :
validates_length_of :lgtitle, :maximum=>45, :message=>"Please reduce the number of characters used in the Before Like Title. The maximum is 45 characters."
레일 메시지 내보기에서 테이블 행을 반환합니다 유효성 검사 메시지에 추가 된 테이블 테이블 행 문자열?
감사합니다.
몇 시간 전에 비슷한 질문이있었습니다. 링크는 다음과 같습니다. http://stackoverflow.com/questions/690267/using-rails-validation-helpers-message-but-want-it-without-listing-the-column-na – christianblais