JSONB + Rails to store glorified strings in your DB
Everyone likes a good hack sometimes, like storing a list of values as one comma-separated string in DB. Let’s see how to use Postgres JSONB for a nicer implementation.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Everyone likes a good hack sometimes, like storing a list of values as one comma-separated string in DB. Let’s see how to use Postgres JSONB for a nicer implementation.
Post a comment