如何在创建或更新时使用访问器来验证带有locale或locale的模型?c = Category.new(name_en: 'Cat. 1', name_de: 'Kat. 1')# => false# Should output the individual validation errors for every single locale accessor.名称(en):已被接受。名称(de):有效。
=> #<ActiveModel::Errors:0x
could not find compatible versions for gem "globalize": In Gemfile:
Could not find gem 'globalize (>= 5.0.0, ~> 5.0)', which is required by gem 'globalize-accessorsglobalize/globaliz