Read more

Using PostgreSQL and jsonb with Ruby on Rails

Thomas Klemm
February 22, 2015Software engineer

Postgres 9.4 introduces a new column type: jsonb. json and jsonb columns store data differently, so just compare the two when you want to store JSON data and choose the one that matches your use case best.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Rails 4.2 includes support for jsonb columns, too. The article outlines different ways on how to interact with the serialized object.

Posted by Thomas Klemm to makandra dev (2015-02-22 13:18)