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

后端 未结 8 1672
小鲜肉
小鲜肉 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条回答
  •  -上瘾入骨i
    2020-12-09 17:00

    so i keep seeing upgrading rails as the solution to this

    ... or you can simply downgrade i18n to version 0.4

    as outlined in this post

    getting {{attribute}} {{message}} in RoR views

提交回复
热议问题