Articles

Reduce Form Boilerplate with Rails' FormBuilder

January 20, 2017

Different frameworks impose different styles on forms, but they all end up requiring more boilerplate. You can either accept the pain boilerpating brings with it, or work around it. Creating your own FormBuilder is a simple way to do just that.


"Legacy" isn't a Bad Word

December 16, 2016

There's a lot to hate about legacy code, but is it possible it's more good than bad? Find out what it is, why it's so hated, and how you can benefit from it.


Your App Has Cancer

December 4, 2016

Cancer in software has many of the same characteristics as those in the human body: it steals resources from the body, grows at an alarming rate, and spreads. Know what symptoms to look for in your software, what damage in can lead to in your project and busienss, and learn how to fight it.


Replacing the Rails Asset Pipeline with Webpack and Yarn

November 15, 2016

In this tutorial we look at how to completely replace the Rails Asset Pipeline with tools from the the Javascript ecosystem, Webpack and Yarn.


Finding the "Next Occurrence" with SQL

October 31, 2016

Given a start date, an interval, and a frequency, how can you easily determine if a date is the next occurrence?


An Introduction to ActionCable in Rails 5

September 29, 2016

An introduction to ActionCable with a focus on how things work rather than how to make them work.


Delegation Patterns in Ruby

September 17, 2016

Reducing object bloat begins with doing less


More than Enough Arel

September 10, 2016

When ActiveRecord just isn't enough


Just Enough Arel

September 9, 2016

Replacing hand-coded SQL with object oriented programming


Naming Conventions for ActiveRecord Polymorphic Associations

September 6, 2016

Some guidelines for how to name ActiveRecord's polymorphic associations well.