Active Record and PostgreSQL — Ruby on Rails Guides

Updated . Posted . Visible to the public.

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

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.

Arne Hartherz
Last edit
Deleted user #20
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2015-01-08 14:06)