Popular Ruby Libraries

Harikrishna Kundariya Developer Tips, Tricks & Resources

Ruby on Rails Gems is a package manager containing libraries, software packages, and utilities for standard format distribution of  Ruby programs and libraries. RoR Gems have functionality with related files to help save time in web development. Debugging Byebug: Byebug is an effective solution for debugging. This gem takes time between tasks and implementing code by changing variables to perform …

How to configure HTTPS for Ruby on Rails (RoR)

Riya Sander Developer Tips, Tricks & Resources

RoR (Ruby on Rails) is a server-side web application framework. To make it more secure, use HTTPS instead of HTTP.  Step One: Buy an SSL certificate: First step is purchasing  an SSL certificate. There are various  types of SSL certificates, based on your requirements including:  Extended Validation Certificates (EV SSL) Organization Validated Certificates (OV SSL) Domain Validated Certificates (DV SSL) …

Rails Geocoder: A Guide to Managing Locations in Your Apps

Rails Geocoder: A Guide to Managing Locations in Your Apps

Eric Boersma Developer Tips, Tricks & Resources

The introduction of Google Maps in 2005 changed the way we think about the internet. It’s hard to remember now, but there was a time where the internet was disconnected from the physical world. You might find a business’s website, and if you were lucky, they’d have an address included. A national chain of restaurants or grocery stores probably wouldn’t …

Ruby Garbage Collection

How Does Ruby Garbage Collection Work? A Simple Tutorial

Ben Munat Developer Tips, Tricks & Resources

Ruby, like most other modern, high-level programming languages, doesn’t force you to manage memory. This feature is called garbage collection, or GC, and you get it for free in Ruby. You can write tons of Ruby code and never give a second thought to the fact that under the covers, Ruby is doing a bang-up job of allocating and freeing memory for …

AWS Lambda With Ruby: A Complete Getting Started Guide

AWS Lambda With Ruby: A Complete Getting Started Guide

Peter Grainger Developer Tips, Tricks & Resources

It’s five o’clock on a Friday afternoon. There are no new bug reports and everything is looking smooth. Your plan of a relaxing weekend is in sight when you get a call—the website you look after isn’t responding.  Yikes. AWS Lambda minimizes the chance of this truly terrifying event from happening by taking care of server maintenance while you focus …

ruby profilers

Ruby Profiler Types and Why You Need Them

Ben Munat Developer Tips, Tricks & Resources

About a decade ago, the Ruby programming language made a big splash in the software engineering industry thanks to the Ruby on Rails web framework. The terse and friendly syntax of Ruby and the “they thought of everything” feeling of Rails offered web startups the ability to move quickly and nimbly. However, as an interpreted language, Ruby is slow compared to compiled languages. The …

Install Ruby on Ubuntu

Install Ruby on Ubuntu: Everything You Need to Get Going

Chris Tobolski Developer Tips, Tricks & Resources

In this post, you are going to learn how to install Ruby on Ubuntu. Specifically, we’re going to install it on the current LTS (Long-Term Support) version of Ubuntu, 18.04.2. If you’re totally new to this, don’t worry! I’ve written this guide with the assumption that you have no prior experience installing packages on Ubuntu. I will attempt to explain …

Install Ruby on Windows

Install Ruby on Windows: Everything You Need to Get Going

Ben Munat Developer Tips, Tricks & Resources

Ruby is a well-established and well-regarded programming language. Once upon a time, installing Ruby on Windows came with problems, but things have come a long way. Today, there’s no reason someone couldn’t write Ruby code on any platform. First released in the mid-1990s, Ruby’s popularity soared with the release of Ruby on Rails in 2005. Ruby is primarily an object-oriented programming language (OOP), …

Rack Mini Profiler: A Complete Guide on Rails Performance

Rack Mini Profiler: A Complete Guide on Rails Performance

Eric Goebelbecker Developer Tips, Tricks & Resources

Ruby on Rails makes writing web applications a pleasure. It’s a powerful and intuitive platform, built on an equally powerful and intuitive language. But that doesn’t mean it’s not worth taking the time to check your code for bottlenecks and performance problems before you ship. In this post, I’ll cover how to use Rack Mini Profiler to profile your Rails …

How to Do Authentication Right With Rails Devise

How to Do Authentication Right With Rails Devise

Eric Boersma Developer Tips, Tricks & Resources

Authentication for web apps is a difficult problem. Anyone who’s ever tried to create their own authentication system will tell you that there are a lot of unexpected edge cases. What’s more, your authentication system is an externally-facing part of your application. This means if someone is trying to hack into your application, your login system’s security will be one of …

Rails Migration

Rails Migration A Complete Guide

Eric Boersma Developer Tips, Tricks & Resources

A Rails migration is a tool for changing an application’s database schema. Instead of managing SQL scripts, you define database changes in a domain-specific language (DSL). The code is database-independent, so you can easily move your app to a new platform. You can roll migrations back, and manage them alongside your application source code. Let’s take a look at what Rails migrations …

Ruby Performance Monitoring

Ruby Performance Monitoring

Iryne Somera Developer Tips, Tricks & Resources

When developing new applications, it’s typical to run into a variety of competitors with similar goals. This is one reason why it is not enough to create an application without ways to monitor and manage it. In fact, usually market leaders emerge rather quickly. So who are these market leaders? We often see these people and companies are the ones …

How to Troubleshoot Ruby Applications

Eric Goebelbecker Developer Tips, Tricks & Resources

Troubleshooting is a critical skill for developers and DevOps. As our software grows more sophisticated, our problems do too. The cloud adds a new layer of complexity since we need to know how to find a problem that doesn’t occur locally, but has cropped up on a remote system. In this tutorial, we’ll look at how to troubleshoot Ruby applications. …

Ruby Performance Tuning

Carlos Schults Developer Tips, Tricks & Resources

There are many things to praise about the Ruby language: adherence to the object orientation paradigm, simplicity, elegance, and powerful meta-programming capabilities. Unfortunately, performance isn’t top of mind when people think about the many qualities of the language. For years, people have been denouncing the Ruby programming language as slow. Is it? Sure, some people will spread a fair amount …