Technical
History Tracking With Postgres
It’s no secret among my colleagues that I’m a huge fan of Postgres. I think the features of modern relational databases are a source of untapped potential in the Rails community. The Rails community tends to make websites where we can easily swap from one database platform to another, but if you’re okay with your…
Read MoreGnarly Learnings from September 2022
We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. An Introduction to Ractors in Ruby 🚨 Experimental feature alert! 🚨Ractors were introduced in Ruby 3 and represent an actor-model abstraction. Ractors provide true-blue parallelism and do…
Read MoreOur Code Review Process: More than Quality Assurance
Just like writers during the editing process, programmers review each other’s work, provide feedback, and work together to create a more refined, higher-quality end product. At a basic level, this process helps ensure code quality and brings potential defects to the surface. More than that, it helps developers transfer and grow knowledge, resulting in continuously…
Read MoreNavigating Session Token Authentication in Shopify for Embedded, Server-Side Rendered Rails Apps
Recently we built an embedded Shopify application for one of our clients. The UI was relatively straightforward, and in an effort to keep the code simple we elected to create a server-side rendered (SSR) Rails app and use Hotwire (Turbo and Stimulus, specifically) as needed for the front end. Part of building a Shopify application…
Read MoreGnarly Learnings from August 2022
We love reading, watching, and listening in order to constantly update our skills and learn new perspectives. Here are some of the exciting pieces we learned from this month. Digging Into Turbo with Ruby on Rails 7 This article provides a nice intro to Turbo. The author goes over the high points of frames and…
Read MoreInfinite Scroll React Example with TypeScript and NextJS
For the uninitiated, infinite scroll (otherwise known as endless scroll) refers to a method of automatically loading data when a user scrolls to the bottom of their screen, allowing them to continue browsing content with minimal effort. If you’ve been in the front-end game since the good bad old days when jQuery was bleeding edge,…
Read MoreWhat is the point of free and open source software?
At the risk of a big opening: Free and open source software (FOSS hereafter) is utterly pervasive. It is a global, decentralized public resource responsible for astounding economic output. It presents as ideas and ideals, but many (most?) of us have built careers on top of it, and things don’t get much more concrete than…
Read MoreDeconstructing DeFi
Introduction If you clicked on this blog post I’m going to make two assumptions about you, my wonderful reader: You know what a cryptocurrency is, at least at a basic level. You may have heard the term “Defi” but don’t really know what it means. If these assumptions are incorrect, this may be a difficult…
Read MoreGnarly Learnings from July 2022
We love reading, watching, and listening in order to constantly update our skills and learn new perspectives. Here are some of the exciting pieces we learned from this month. The most underrated Rails helper: dom_id Despite being around for over a decade, a number of us at The Gnar have never interacted with the dom_id…
Read More