Read more

Active Record and PostgreSQL — Ruby on Rails Guides

Arne Hartherz
January 08, 2015Software engineer at makandra GmbH

Rails guide that covers PostgreSQL-specific column types and usages for Active Record.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

You should especially keep in mind the special datatypes that PostgreSQL offers. \
Types like json and array take away a lot of the pain that you had on MySQL projects.

Example use cases for array are tags or storing foreign keys (instead of a join model). You can even index them.

Posted by Arne Hartherz to makandra dev (2015-01-08 15:06)