Gangs in Ruby is a blog post series covering design patterns from the legendary book Gang of four: Design patterns. In this post we will cover template method pattern.
Enumerable is an amazing module, and it's a big part of what makes Ruby such a great programming language. In this article I share my favorite methods.
Pulling apart the engine and putting it back together is one of the best ways to understand how a system works. In this post we will rebuild Git. However, instead of writing C, let’s re-implement Git in Ruby!
Few weeks ago I found a post explaining how DHH oranizes controllers in his apps. The main idea is to organize controllers the same way our website works.
In a production application, logs are the source of truth for how and when specific events occurred. What request did the web server receive? Who sent it? How did the application respond? How much time did it take?
Rails 5 introduces way to suppress save events on a model.
Let’s say, we have an E-commerce application, which has many products. Whenever new product is launched then subscribed customers are notified about it.
This post was started as a polemic against some views presented by Rob Conery in his latest blog post, but grown a bit. Sorry. These things happen with blog posts!
This post is in part inspired by Why Dynamic Typing Is Useful by Gary Bernhardt. I’ll concede that his post is published 10 years prior, so I’ve had plenty of time to build a counter-argument.
Disappointment occurs when expectations don’t match reality. And our expectations for software quality are profoundly unrealistic. Thus, lots of people are continuously disappointed — even enraged — by software bugs. They shouldn’t be.