Ruby

Devise Gem and Hosting on Heroku

Welcome to my very first Blog. Being a beginner in learning Ruby on Rails, I find Devise as a flexible authentication solution based on...
Varun Kumar S
1 min read

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

Querying JSON with PostgreSQL

PostgreSQL provide powerful operator and methods to process JSON data. I have taken mock data to explore different operators and methods. Before proceed make...
Sivakumar V
3 min read

My Testing Experience with Healthcare Project

Hi Folks, I am working on a healthcare related web application. I would like to share few interesting things that I came across while...
Ashwin Sundarabaskar
5 min read

Fix for Net::OpenTimeout: execution expired When on AWS with…

If you happen to see the error “Net::OpenTimeout: execution expired” and if it originating from /home/ubuntu/.rvm/rubies/ruby-x.x.x/lib/ruby/x.x.x/net/smtp.rb and if you are running your server on...
Praveen Kumar
15 sec 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

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

Testing Restful APIs using Airborne gem

Nowadays the importance of Restful APIs has increased a lot for web and mobile apps. Writing API has been made easier and pretty good...
Visnupriya
2 min read

MongoDB Indexes

In this blog I am going to share my experience and learnings with MongoDb indexes.
Neelkanth Ram
4 min read