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:
# I18n.locale = :en
# Currently
Post.first.description #=> "Hello World"
# I need the whole JSONB hash
Post.first.description #=> {'en': 'Hello World', 'de': 'Hallo Welt'}
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: