Ruby

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

PDF generation with Rails

Generating pdf is a common requirement in web applications, mostly to download reports. Users would like to download their data as pdf or excel...
Surendran Sukumaran
1 min read

Display Mobile App Version from RhoMobile's build.yml

When we ship a mobile app for our clients, we always follow the practice of displaying the version number in it. With RhoMobile development,...
Visnupriya
29 sec read