Tutorials


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...



Send SMS messages like emails in Rails with Textris
We’re going to take an example Rails application and replace the existing message sending code with Textris to see how it can tidy up our application. For this blog post, we’ll use a tutorial on sending instant lead alerts as our base. The applica...

How To Make Rails Json Output Decimal Numbers Instead Of Strings
Working on an application I noticed that when getting JSON data from Rails the decimal numbers come as strings. Turns out this is to ensure it is still accurately rounded.If you don’t care about the rounding of large numbers then you can force Rai...
