Tutorials
Creating an iOS Share Extension for a Turbo Rails App
A lot of excitement has swept through the Rails world since the release of Turbo in December 2020. Personally, what I’m looking forward to most is a seamless integration with native mobile platforms using the iOS and Android adapters.We are going ...
Understanding Ruby - Enumerable - Intro and Interfaces
Enumerable. Debatably one of, if not the, most powerful features in Ruby. As a majority of your time in programming is dealing with collections of items it's no surprise how frequently you'll see it used.This first article will cover implementing ...
Tip: Use Rails `cycle` to avoid `i % 2 == 0` in your view loops
Sometimes you need to keep track of how many times you’ve looped when rendering some views, for instance to alternate background colors to create a “striped”.Sometimes you need to keep track of how many times you’ve looped when rendering some view...
Checking Ruby C extensions for object movement crashes
This guide intends to help Ruby native extension maintainers upgrade libraries to be compatible with GC.compact. Application developers can also use this guide to check applications for compaction compatibility. At the time of writing, the latest ...