Active Record and PostgreSQL — Ruby on Rails Guides
Active Record and PostgreSQLThis guide covers PostgreSQL specific usage of Active Record.After reading this guide, you will know: How to use PostgreSQL's datatypes. How to use UUID primary keys. How to implement full text search with PostgreSQL. How to back your Active Record models with database views.