Tutorials



Postgres Indexes for ActiveRecord Join Tables in Rails Apps
Join tables are a common citizen in Ruby on Rails apps. Their use case is to provide many to many relation between database models. Adding correct Postgres indexes on join tables is not obvious. I’ve noticed that some tutorials, Stack Overflow pos...

Building GitHub-style Hovercards with Stimulus and HTML-over-the-wire
Somewhere along the way toward our current JavaScript hellscape, programmers decided that HTML was over. We’re done with it.The emergence of tools like React shifted programmers away from writing HTML, instead writing JSX, a fancier tag-based mark...

How to Create Events in Google Calendar from Ruby On Rails Application?
In many cases, we need to create events in a calendar app from web applications. For example, create an appointment with Doctors or schedule service with plumbers.Google Calendar is the most used app for scheduling and it’s very popular among busi...



Spark Joy by Running Fewer Tests – Shopify Engineering
Developers write tests to ensure correctness and allow future changes to be made safely. However, as the number of features grows, so does the number of tests. Tests are a double-edged sword. On one hand, well-written ones catch bugs and maintain ...
