Blogs
ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set
PostgreSQLCursor extends ActiveRecord to allow for efficient processing of queries returning a large number of rows, and allows you to sort your result set.In PostgreSQL, a cursor runs a query, from which you fetch a block of (say 1000) rows, proc...
Ruby on Rails vs Node.js - which technology is better for your app?
Node.js and Ruby on Rails are two popular solutions used in web development. Both loved for their simplicity, speed of development, and easy code maintenance, they are often compared and seem to be good alternatives to Python, Java, PHP or .NET.Wh...
Modularizing old monolith - Rails Engines to the rescue!
A few weeks ago, I started researching ways to improve the architecture of my company’s main application, which is fairly old and fairly big (81,980 commits and counting). Over time, many developers have tried to keep it in the best possible shape...
How to Create Custom Scaffold Templates in Ruby on Rails
Ruby on Rails is such a powerful framework. It has its own CLI of which harnesses what are known as “generators”. These generators can quickly scale up resources for your app with a few keystrokes. In this post learn how to create custom scaffold ...