#
ActiveRecord Programming Tutorials & Engineering Articles
28 ActiveRecord tutorials, guides, and engineering insights from Shopify and Fly.io
Companies Using This
ActiveRecord Articles & Tutorials
Filter:
The article discusses how GitHub's Product Security Engineering team utilizes CodeQL, a static analysis engine, to enhance the security of GitHub's codebase.
Brandon Stewart
17 min read
Includes Code
Has Summary
--
This article discusses the horizontal scaling of the Rails backend for the Shop app using Vitess, a database system abstraction over MySQL.
Hammad Khalid
31 min read
Includes Code
Has Summary
--
This article discusses the transition from Ruby's Marshal serialization to MessagePack for caching in Rails applications.
Chris Salzberg
19 min read
Includes Code
Has Summary
--
The article discusses the critical role of caching in Rails applications and the inherent risks associated with using Ruby's Marshal for serialization.
Chris Salzberg
12 min read
Includes Code
Has Summary
--
This article discusses the safe addition of NOT NULL columns to database tables, focusing on the use of the Large Hadron Migrator (LHM) gem for schema changes in MySQL databases.
Sinclert Pérez
7 min read
Includes Code
Has Summary
--
The article explores the performance advantages of Just-In-Time (JIT) compilation compared to traditional ahead-of-time (AOT) compilation, particularly in dynamic languages like Ruby.
Noah Gibbs
9 min read
Includes Code
Has Summary
--
The article discusses the implementation of equality in Ruby, highlighting its various forms such as #==, #eql. , #equal. , and #===.
Denis Defreyne
20 min read
Includes Code
Has Summary
--
This article discusses how the Payment Flexibility team at Shopify redefined the storage of polymorphic associations in Rails by transitioning from storing class names to arbitrary strings.
Diego Gilon
8 min read
Includes Code
Has Summary
--
Fly. io is actively seeking full-stack developers to join their team, focusing on creating user-friendly interfaces and experiences.
This article is the third part of a series aimed at beginners learning GraphQL, focusing on mutations for modifying data.
Raymond Chung
7 min read
Includes Code
Has Summary
--
The article discusses the unique patterns developed by Shopify for their Ruby on Rails applications, focusing on tools and architectures that enhance developer productivity and maintainability.
Ioana Surdu-Bob
10 min read
Includes Code
Has Summary
--
This article is the second part of a series aimed at beginners learning GraphQL.
The article discusses a novel approach to deploying globally distributed PostgreSQL databases using Fly. io's infrastructure.
Kurt Mackey, Kurt Mackey
12 min read
Includes Code
Has Summary
--
This article provides a comprehensive guide on building a web application using Ruby, both with and without Rails libraries.
The article discusses how Shopify's Test Infrastructure team significantly improved the speed of their Continuous Integration (CI) system, reducing the 95th percentile build time from 45 minutes to...
The article discusses the challenges and advancements in adopting static typing in Ruby at Shopify, particularly through the use of Sorbet.
Ufuk Kayserilioglu
8 min read
Includes Code
Has Summary
--
The article discusses strategies for identifying and fixing slow code in Ruby applications, emphasizing the importance of profiling and benchmarking.
Jay Lim
12 min read
Includes Code
Has Summary
--
The article discusses the Strangler Fig Pattern as a strategy for refactoring legacy code, specifically focusing on the Shop model within Shopify's Ruby on Rails codebase.
Adrianna Chang
15 min read
Includes Code
Has Summary
--
The article discusses Shopify's approach to API versioning and managing breaking changes, emphasizing the importance of stability and predictability for developers.
Tom Newton
8 min read
Includes Code
Has Summary
--
The article features Sam Saffron discussing performance and monitoring in Ruby, particularly focusing on the challenges and strategies for improving Ruby's performance.
Anita Clarke
11 min read
Has Summary
--
The article discusses Shopify's transition from a monolithic architecture to a modular monolith to enhance developer productivity.
Kirsten Westeinde
13 min read
Includes Code
Has Summary
--
The article provides an in-depth look at Shopify's tech stack and engineering practices, detailing how the platform scales to support over 600,000 merchants and 80,000 requests per second.
ActiveRecordDockerHerokuHTMLJavaScriptjQueryKubernetesLuaMemcachedMySQLRailsReactRedisRubyTypeScript
Kir Shatrov
10 min read
Has Summary
--
This article details Shopify's upgrade from Rails 4. 2 to Rails 5.
Kir Shatrov
8 min read
Includes Code
Has Summary
--
The article discusses the importance of data consistency checks in software engineering, emphasizing the need for tools to verify data integrity after it has been written to databases.
Paul Hammond
11 min read
Includes Code
Has Summary
--
The article discusses advanced debugging techniques in Ruby beyond the commonly used 'puts' method.
Blake Mesdag
6 min read
Includes Code
Has Summary
--
The article discusses significant updates to Google BigQuery announced during the Cloud Platform Live event, highlighting new features that enhance performance, usability, and cost-effectiveness.
Felipe Hoffa, Cloud Platform team
5 min read
Includes Code
Has Summary
--
The article discusses IdentityCache, an internal caching library developed by Shopify for ActiveRecord models, which has now been open-sourced.
The article discusses the nuances of memory leaks in Ruby applications, emphasizing that not all memory leaks are detrimental.
Shopify Engineering
8 min read
Includes Code
Has Summary
--
You've reached the end! All 28 articles loaded.