Why doesn't Rails' “errors.full_messages” replace attribute and message variables?

后端 未结 8 1671
小鲜肉
小鲜肉 2020-12-09 16:22

Having a strange problem with a rails model I just created.

Here are my validations:

validates_presence_of :from_name, :message => \'Please provid         


        
8条回答
  •  [愿得一人]
    2020-12-09 17:12

    cd  
    gem install i18n -v 0.4.0 -i vendor/ -V
    

    to install the i18n gem into the vendor folder (-V for verbose output, just to see what's going on under the hood)

提交回复
热议问题