Tutorials

Write resilient tests with matchers that take other matchers | Everyday Rails
I recently needed to update some old RSpec tests that use VCR fixtures in a Rails application. VCR is a wonderful tool for recording transactions with external HTTP services. It can help make your tests faster by bypassing the potential slowness a...

"Lessons from building GitHub code search" by Luke Francl (Strange Loop 2023) - YouTube
In this talk, I'll share some lessons we learned building a high-performance code search engine, designed to meet GitHub's large scale. GitHub code search is the world's largest publicly available code search engine, with more than 60 million repo...

When do you need to prefix Ruby constants with "::"? (uninitialized constant error) - Stack Overflow
The module nesting is primarily set by using the module and class keywords to open a class/module.If its not found there it will keep going upwards in the module nesting until it reaches main and if the constant still isn't found by then you'll ge...




Every Rails page has footnotes that gives information about your application and links back to your editor
Every Rails page has footnotes that gives information about your application and links back to your editor - indirect/rails-footnotes: Every Rails page has footnotes that gives information about your application and links back to your.


Adding 'Sign in with Apple' to your Ruby on Rails 7.1 App: A Step-by-Step Guide
I added omniauth-apple to one of my side projects to get 'Sign in with Apple' authentication. I hit a couple of issues that took me a while to fix, so I want to share how I solved them, hoping it saves others some time.Getting StartedI'm working w...