Fix this case:
class Property include Mongoid::Document field :value, :localize => true end p = Property.new p.value_translations = { fr: false, en: "random" } p.save! I18n.locale = :fr p.value # returns "random" instead of false
Fix this case:
class Property include Mongoid::Document field :value, :localize => true end p = Property.new p.value_translations = { fr: false, en: "random" } p.save! I18n.locale = :fr p.value # returns "random" instead of false