Gaslight Blog

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


CinciJS February 2021: JavaScript the Grumpy Parts

We love JavaScript, but we must admit: it’s weird. Why does `this` behave as it does? How does variable scope work? Why do we have such comical behavior when comparing mixed types? Let’s pull back the covers of these scenarios, and learn how it truly works. You may find a...

Read More →


Fluid Typography, Simplified

Along with responsive design came responsive typography, and now quickly on the rise is the concept of fluid typography. When I first started hearing the term “fluid typography,” my immediate thought was, “What’s that?” So for anyone wondering the same thing, here’s a quick definition: Fluid typography is the idea...

Read More →


A Quick Look at Stimulus.js

Stimulus.js is a JavaScript framework often associated with Hotwire: a new addition to the Ruby on Rails framework. In preparation for a future article on Hotwire, I started with a “deep dive” on Stimulus. In this article, I will take a look at version 2.0.0 which is the latest version...

Read More →


What are you doing to manage your technical debt?

If your company has a custom software product, technical debt is inevitable. If you aren’t familiar with the term, “technical debt” refers to the cost of reworking previously written code. The need to rework code can arise for a number of reasons, such as assumptions that have subsequently been invalidated...

Read More →


Getting creative with constantize in Ruby on Rails

In a recent project, our static code analyzer, Rubocop, complained that a case statement we had written made our code too complex. In this article, I am going to show you how we refactored that code to use constantize. Constantize is a String method that “tries to find a declared...

Read More →


Rails New: Active Record

In the first two posts of this series, we’ve skimmed the basics of Ruby on Rails in the form of a quick getting started guide, followed by a shallow dive into Rails’ implementation of an MVC architecture and the role Routing plays in tying it all together. This week we’ll...

Read More →

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

Subscribe to Our Newsletter