Gaslight Blog

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

01/21/21

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 →

01/12/21

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 →

12/22/20

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 →

12/17/20

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 →

12/15/20

A Bit of State

There’s a developer aphorism that claims “shared mutable state is the root of all evil”. It’s a fun, pithy statement that’s intentionally exaggerating to make a point, but there are also some good reasons for the sentiment. As we create applications, being mindful of how and where we introduce stateful...

Read More →

12/10/20

Rails New: MVC & Routing

Welcome back to the second installment in our series of “Rails new” posts. Last week, our VP of Development, Tim Mecklem demonstrated just how easy it is to get a custom Web application up and running with Rails. We also saw how some key pieces of the Rails ecosystem fit...

Read More →

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

Subscribe to Our Newsletter