开发者

Error message failure in rails

Tools model

class Tools < ActiveRecord::Base
  validates_presence_of :title, :description, :image_url      
end

When I submit the form without filling in data, I get error messages as {{attribue}}{{message}} ? How can 开发者_如何学编程I get the current error message?


Have you installed I18n gem? if so,

gem uninstall I18n

This has to solve the issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜