RubyFlow The Ruby and Rails community linklog

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.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in