Quantcast
Channel: Ruby on Rails Archives - Spritle software
Browsing all 45 articles
Browse latest View live

Discussing some of the features of Rails 4.2

I would like to discuss some of the new features of the new Rails 4.2 in this blog. ActiveJob, ActionMailer #deliver_later, AdequateRecord, Web Console and Foreign key support are some noted features...

View Article



Image may be NSFW.
Clik here to view.

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 and there are only few libraries available in Ruby to...

View Article

Image may be NSFW.
Clik here to view.

Facebook Query Language ( FQL )

Recently I worked for a project, which fetches data from Facebook and save data locally, Initially we were using Graph API and later migrated to FQL. I would like to share my knowledge about FQL. FQL...

View Article

Image may be NSFW.
Clik here to view.

Hosting FreeGeoIP in your cloud

In the project I’m working on where we sell photos, we had to find out the country of each and every visitor for a certain business purpose. So we have this piece of code in the Rails...

View Article

Image may be NSFW.
Clik here to view.

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 by some API Builders in Ruby. There are plenty frameworks and gems...

View Article


Image may be NSFW.
Clik here to view.

How To Upload Large Files Using AngularJS, Rails and Delayed_job

In this blog I am going to share my experience in AngularJS file upload. I wrote rails application that will import CSV file data using Ruby’s built-in CSV library. Frontend technologies : Boostrap...

View Article

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 a different and more efficient way to handle it. Intsead of...

View Article

Image may be NSFW.
Clik here to view.

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 versions and dependencies. Lets see how we can...

View Article


Image may be NSFW.
Clik here to view.

Fix for Nodejs – Cannot allocate memory and Process out of memory issues

When you face the error Uncaught Error: ExecJS::RuntimeError: FATAL ERROR: Evacuation Allocation failed - process out of memory and rails assets pipeline Cannot allocate memory - nodejs while deploying...

View Article


Image may be NSFW.
Clik here to view.

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 criticism of this new feature and would like to...

View Article

Image may be NSFW.
Clik here to view.

Speaking at Ruby meetups – a way of giving back to the community

Speaking at meetups is a great way of giving back to the community and so we always encourage our mates at Spritle to be a part of such events and give back something in return for what we got. This...

View Article

Fix for Net::OpenTimeout: execution expired When on AWS with Rails and Sendgrid

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 AWS...

View Article

Image may be NSFW.
Clik here to view.

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 testing the project. Firstly, I was taught by my teammates to get...

View Article


Image may be NSFW.
Clik here to view.

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 and there are only few libraries available in Ruby to...

View Article

Image may be NSFW.
Clik here to view.

Facebook Query Language ( FQL )

Recently I worked for a project, which fetches data from Facebook and save data locally, Initially we were using Graph API and later migrated to FQL. I would like to share my knowledge about FQL. FQL...

View Article


Image may be NSFW.
Clik here to view.

A Much Better Way To Backup GitLab to AWS S3

Like many of you, we also use the self-hosted version of GitLab CE and it is one of the BEST open source software written in Ruby on Rails. Though GitLab got its own rake tasks to take backup to AWS...

View Article

Image may be NSFW.
Clik here to view.

How WebPacker and Rails 6 Tortured Me and how I Survived!

One fine day when I was having a chit chat with my colleagues in the cafeteria, I received the email notification which I was waiting for. Yes, my next project’s scope document. The use case is as...

View Article


Image may be NSFW.
Clik here to view.

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 dashboard that shows a total no of counts from various sections of the...

View Article

Image may be NSFW.
Clik here to view.

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 the Rails Engine. Devise will always allow you to have multiple...

View Article

Image may be NSFW.
Clik here to view.

Build Multi-language Supported HealthCare Apps using Ruby on Rails

Hi everyone, hope all are doing good! This is my first blog and here lets see how a Healthcare Rails application can be used for supporting multiple languages. You might think why does a rails app...

View Article
Browsing all 45 articles
Browse latest View live




Latest Images