Developing an RDBMS backed API Resource in Rails

Building an API backed up by some Data has become kind of compulsory nowadays. Most application require to expose their data and services to other applications/clients via an API. I was recently working on such a project where I have to build an API backend for an application, backed up by RDBMS (Postgresql in my case).
I’ve used the latest Rails framework along with Postgresql as my default database at the back end. …