Tutorials




7 Design Patterns to Refactor MVC Components in Rails
In our previous post, The Basics of MVC in Rails, we discussed theoretical aspects of the MVC design pattern. We defined what MVC stands for, identified what each MVC component is responsible for, addressed what happens when a component contains r...


How do Native Extensions Manage Memory? Part 1: Ruby (MRI)
One of the most interesting design challenges in a programming language interpreter or VM is what kind of memory management API to offer to native extensions.
This issue is more or less invisible unless you’re writing a native extension. When you...


Introducing: BabySqueel. Elegant queries for Rails.
Historically, Squeel has had trouble keeping up with the latest versions of Active Record. Currently, it is incompatible with Rails 5 and efforts to upgrade it have been frustrating.
Squeel was originally intended to become part of the official A...
