Using PostgreSQL instead of Rails to generate JSON
Generating JSON is a main requirement for many modern day web application, but Ruby is not the fastest way to generate JSON. But fortunately for us we can let the database return our result in JSON itself. This article gives a basic introduction to creating JSON responses from the database itself.
http://blog.redpanthers.co/create-json-response-using-postgresql-instead-rails/
Post a comment