开发者

Error message failure in rails

开发者 https://www.devze.com 2023-04-12 05:56 出处:网络
Tools model class Tools < ActiveRecord::Base validates_presence_of :title, :description, :image_url end

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

精彩评论

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