Philipp Defner


210 Experience
2 Lessons Completed
0 Questions Solved


After struggling a lot with JSONB, Rails 6 and storeext ( and the typedstore Gem mentioned here I finally found the following one and it works flawlessly. Maybe it's helpful for someone else:

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.