Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel for Rails 4.x
Looking for help?
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install postgres_ext
require 'postgres_ext' and use ActiveRecord as you normally would! postgres_ext extends
ActiveRecord's data type handling and query methods in both Arel and
Where are the datatypes from PostgresExt 1.x? ActiveRecord 4.x includes all the data types that PostgresExt added to ActiveRecord 3.2.x. We'll be adding more datatypes as we come across them.
To work on postgres_ext locally, follow these steps:
bundle install, this will install all the development dependencies
rake setup, this will set up the
.envfile necessary to run the tests and set up the database
rake db:create, this will create the test database
rake db:migrate, this will set up the database tables required by the test