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 …

How to Rescue Exceptions in Ruby

Rich Dammkoehler Developer Tips, Tricks & Resources

Exceptions are a commonly used feature in the Ruby programming language. The Ruby standard library defines about 30 different subclasses of exceptions, some of which have their own subclasses. The exception mechanism in Ruby is very powerful but often misused. This article will discuss the use of exceptions and show some examples of how to deal with them. What is …

Ruby on Rails: Best Blogs and YouTube Channels

Sagar Arora Developer Tips, Tricks & Resources

Ruby on Rails is a server-side web application framework that is completely designed in Ruby under the MIT license. Rails can be viewed as an MVC (model view controller) framework that has built-in support and provides structure for a database, web services, and web pages. Nearly 1 million live websites use Ruby on Rails now which is why companies like …