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
I would like to know, if there is a way to simply get back the whole data hash and not just a localized version of the nested content when reading a JSONB attribute?
Example:
# I18n.locale = :en# CurrentlyPost.first.description#=> "Hello World"# I need the whole JSONB hashPost.first.description#=> {'en': 'Hello World', 'de': 'Hallo Welt'}
The text was updated successfully, but these errors were encountered:
Hello,
first of all, thanks for this great gem!
I would like to know, if there is a way to simply get back the whole data hash and not just a localized version of the nested content when reading a JSONB attribute?
Example:
The text was updated successfully, but these errors were encountered: