Merry Christmas! Rails 7 + Ruby 3.1 were recently released. Here are some of the resources that I collected in the last couple of weeks.
New Rails 7 features, Before and After
New Rails 7 features, Before and After. GitHub Gist: instantly share code, notes, and snippets.
Nice Overview in Code about new Rails7 features
How to build a search engine with Ruby on Rails
Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.
Justin Searl walks us through constructing a Postgres search engine, which also searches multiple languages. I love those articles which tell from personal experience and go into some of the more advanced meat. Also learned about
websearch_to_tsquery pg function!
GitHub - DFE-Digital/govuk-components: Lightweight components for developing with the GOV.UK Design System
Lightweight components for developing with the GOV.UK Design System - GitHub - DFE-Digital/govuk-components: Lightweight components for developing with the GOV.UK Design System
gov.uk “Bootstrap”-like library, also shipping with a whole rails view_components Gem and styleguide
From Node to Ruby on Rails - D U N K
Shopify-Made Patterns in Our Rails Apps
At Shopify, we’ve developed our own patterns in order to support our global platform. Before coming here, I've developed multiple Ruby (and Rails) applications at multiple growth stages. Because of that, I quickly came to appreciate some workarounds and automation that were created to support the large codebase of...