RubyGems Navigation menu

pg_jbuilder 0.0.1

pg_jbuilder is a tool to dump database queries directly to a JSON object or array. It uses PostgreSQL's JSON functions ([array_to_json and row_to_json](http://www.postgresql.org/docs/9.3/static/functions-json.html)) to serialize the JSON completely bypassing ActiveRecord/Arel. This gives a large speed boost compared to serializing the JSON inside of Ruby/Rails. It is perfect for creating JSON APIs with very low response times.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.1 - March 05, 2015 (25 KB)

Runtime Dependencies (3):

activerecord >= 3.0.0
handlebars >= 0.6.0, ~> 0.6
pg >= 0

Development Dependencies (5):

bundler ~> 1.6
rails ~> 4.2.0
rake >= 10.4.2, ~> 10.4
rspec >= 3.1.0, ~> 3.1
sqlite3 >= 0

Owners:

Authors:

  • tye

SHA 256 checksum:

420342c9ad06430bbb7ffe38dbc1465fa3ae113715359ccdac3128a9a98859e9

Total downloads 3,576

For this version 3,576

License:

MIT

Required Ruby Version: >= 0

Links: