Philipp Defner

Joined

210 Experience
2 Lessons Completed
0 Questions Solved

Activity

After struggling a lot with JSONB, Rails 6 and storeext (https://github.com/G5/storext) and the typedstore Gem mentioned here I finally found the following one and it works flawlessly. Maybe it's helpful for someone else: https://github.com/madeintandem/jsonb_accessor

My problem was always that the JSON in the column was escaped / stored as a string, which it shouldn't be in a JSONB column. After switching to this Gem everything worked, I'm not exactly sure where it's going wrong.