Gaslight Blog

Want to read more about Development? Let's take a look-sy:

12/08/20

Server-Side Rendering with Next.js

Next.js is a production-ready framework built on top of React that provides advanced functionality, such as Server-Side Rendering. Prerequisites: Some React experience Node.js 12+ Yarn 1.22.0+ Npm and Npx Why Next.js As a React site scales in size so will some of the challenges facing a modern web application. Here...

Read More →

12/03/20

Rails New: Introduction

The Plan A few months ago, our VP of Development, Tim Mecklem decided to change the format of the Cincinnati Ruby Brigade CincyRB by rebooting the meeting content, both literally and figuratively. Tim envisioned an opportunity to serve both newcomers and experienced developers alike by presenting foundational material in a...

Read More →

12/01/20

Demystifying AWS S3 uploads in Ruby on Rails

Amazon Web Services include S3 (Simple Storage System) which Amazon describes as “an object storage service” that provides “scalability, availability, security and performance”. While there are many types of objects that can be stored on S3, in this article we will focus on storing a JSON file that will be...

Read More →

11/19/20

Every Pixel Matters: Tips to use them most efficiently

When you’re programming, one of the most important things is the code you’re writing. Because our brains are limited and our code is mostly not, you’ll want to see as much code as you can so that it’s easier to keep the whole context of what you’re doing visible. First,...

Read More →

11/12/20

Transform small tables with ActiveHash in Ruby on Rails

In a recent Ruby on Rails project, we needed to work with days of the week. We considered making a small table so we could fetch it, sort it, and join it to other tables as needed. But knowing that the days of the week do not change, we ruled...

Read More →

11/02/20

A simple trick to improve Rails performance and maintainability using enum

It is generally known that calls to the database are inherently slower than accessing a variable already in memory. You really do not want to create a bunch of small tables for simple values like status codes. In this discussion, we will look at enum to help us craft a...

Read More →

Like what you're seeing? Let's keep in touch.

Subscribe to Our Newsletter