You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I18n.locale=:enentity.title=>"english"# correctI18n.locale=:esentity.title=>"english"# correct: fallback to default_localeentity.title_en=>"english"entity.title_es=>nil# should not fall back
Actual
entity.title_es=>"english"# incorrect
I believe this is incorrect and accessors should provide the real data otherwise it is impossible to edit models. Also this is how it is implemented in globalize_accessors.
In other words they should provide direct mapping to title_raw, this is what I did:
I believe fallback logic is incorrect:
Given
Expected
Actual
I believe this is incorrect and accessors should provide the real data otherwise it is impossible to edit models. Also this is how it is implemented in
globalize_accessors
.In other words they should provide direct mapping to
title_raw
, this is what I did:The text was updated successfully, but these errors were encountered: