Contributions
Tutorial
Stripe Checkout is one of my favorite ways to handle payments in Ruby on Rails applications. Stripe Checkouts will soon have an option to embed the Checkout into your web application. In this episode, we'll look at implementing this feature with a StimulusJS controller.
Tutorial
A special release to celebrate 418 episodes. I talk about different HTTP response codes.
Tutorial
In this episode, we look at adding system tests in our application to test our Stimulus Controllers. We'll also look at how to DRY up some of the tests and how to run them in a headless environment.
Tutorial
When previewing PDF files that were uploaded through Active Storage, we can only get a simple image of the first page. In this episode, we'll look at taking the uploaded PDFs and interacting with them.
Tutorial
In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.
Article
Video coverage of This Week in Rails - 2023-06-09
Tutorial
In this episode, we take a few different approaches in how we display error pages in our Rails application. We'll also look at a few potential problems with each approach that we need to be aware of.
Article
Tutorial
In this episode, we explore session hijacking and an approach that we can take to limit the risk. There are some user experience and functionality caveats to this approach so they must be taken into consideration as well.
Article
Rails World tickets waiting list, caching improvements and more!
Article
End of April 2023 Edition
Article
A new conference, new Action Mailer callbacks and more!
Tutorial
In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.
Article
March 31st 2023 edition 🌸
Update
Composite primary keys improvements and more
Article
TestFixtures#fixture_path deprecation, FinderMethods#find support for composite primary key values, etc.
Tutorial
MRSK deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use MRSK to provision and deploy our Rails application to the Virtual Machines.
Tutorial
The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We'll also have a look at some nuances with jsbundling and how to overcome them.
Tutorial
Tutorial
Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.
Article
Tutorial
For various reasons, we may decide to move our services off of one platform onto another. This could be due to pricing, uptime or other reasons. In this episode, we look at migrating a Ruby on Rails application and database from Heroku to Fly.
Article
More intuitive checking of form check boxes and radio buttons
Article
https://world.hey.com/this.week.in.rails/activerecord-querymethods-reselect-now-accepts-a-hash-performance-gains-and-a-fix-for-ciphertext_for-5254976c
Article
Column information in ERB template exceptions, migration option validation and more!
Article
Updated Permissions-Policy directives and LSP support?
Tutorial
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.
Article
ERB in YAML keys, performance boosts, a new option for QueryLogs!
Article
Improved assert_redirected_to, improved error messages and more!
Article
Rack 3 and Rails 7.0.4, 6.1.7, and 6.0.6 releases, ActionDispatch::Cookies, etc.
Showing the last 30 only...