検証ルールの例:
validates :first_name, :presence => {:message => I18n.t('activerecord.errors.models.user.required_item')}, :allow_blank => true, :length => {:minimum => 3, :maximum => 40}
ロケール:
de:
activerecord:
errors:
models:
user:
povinne_pole:
required_item: "error message" # see default key: "inclusion"
戻り値
[object Object]
私は何を間違っていますか?