Ruby (Demo)

Improve Rails App Performance Using Active Record’s Counter Cache

In this guide, I will explain how we can improve the performance of our rails app by using the counter cache. Consider an app...
Ram Prasanna
2 min read

SSH Configuration for Jump (host) to remote server.

In this blog I want to share, how we used the jump host concept to : Connect to remove server via jump host using...
Sairam S
2 min read

Monitor Sidekiq up or down with Shell Script

Here is one simple shell script to check whether sidekiq process is running or not and then restart it. I am sure many of...
Sivakumar V
1 min read

Speaking at Ruby meetups – a way of giving…

Speaking at meetups is a great way of giving back to the community and so we always encourage our mates at Spritle to be...
Spritle Bot
1 min read

Rails 5 — ActiveRecord Suppress — a step too far?

One of the new additions to ActiveRecord that’s gonna be coming out with the Rails 5 release is the ActiveRecord::Base.suppress method. I have some...
Steve Robinson
7 min read

Lean Project Management – My Experience At Spritle

Ever since I joined Spritle (1.5 years back) I started managing the projects as well as testing the applications. Here are my thoughts on...
Shanthi
3 min read

Amazon KMS to manage encryption keys

Amazon has a service named KMS, Which is used to manage your keys, These keys can be used to encrypt/decrypt data encryption keys used...
Surendran Sukumaran
1 min read

Fix for Nodejs – Cannot allocate memory and Process…

When you face the error Uncaught Error: ExecJS::RuntimeError: FATAL ERROR: Evacuation Allocation failed - process out of memory and rails assets pipeline Cannot allocate...
Prabu D
1 min read

Three Ways to Manage Assets in Rails

These days almost all web applications uses loads of JavaScripts (like jQuery, AngularJS and so on) and its becoming challenging to maintain the its...
Surendran Sukumaran
1 min read

Handle ActiveRecord::RecordNotFound More Beautifully

Most of us usually handle the Active Record Not Found error in ApplicationController and then redirect it to a generic view page. I found...
Balaji D Loganathan
32 sec read

git-deploy – Perl: warning: Setting locale failed.

If you get the error perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:, you can fix it by adding...
Balaji D Loganathan
27 sec read

git-deploy – Fix for /usr/bin/env: ruby: No such file…

If you use git-deploy with rvm and if you face the error /usr/bin/env: ruby: No such file or directory then here is the quick...
Balaji D Loganathan
22 sec read