Spinacz nie wyświetla komunikatu o błędzie

Używam szyn 3.2.6. Dodałem to w moim pliku modeli:

 has_one :avatar, :as => :imageable, :dependent => :destroy
 validates_presence_of :avatar, :message => "can't be empty"

Ale nie otrzymuję żadnego komunikatu o błędzie, jeśli pole pozostanie puste. Dostaję tylkoPlease review the problems below: na górze mojej strony. Czy ktoś może coś zasugerować?

has_one :avatar, :as => :imageable, :dependent => :destroy
  has_many :attachments, :as => :attachable, :dependent => :destroy

  accepts_nested_attributes_for :avatar, :reject_if => :all_blank

Właściwie jak podać komunikat o błędzie w zagnieżdżonych atrybutach?

questionAnswers(0)

yourAnswerToTheQuestion