Tutorials

Why You Should Secure AWS S3 Assets with Cross-Account Backups
Many web apps use AWS S3 buckets for storing static assets like PDFs and images. Unfortunately, the default config makes it just too easy to irreversibly lose all the data. For many projects, it would probably mean that all the team can pack their...



Rails 7 now allows automatic inverse_of detection for associations with scopes | Saeloun Blog
This update ensures that "inverse_of" takes into consideration the relevant scope when calculating the object to store in memory.ActiveRecord has many tricks up its sleeve. One of the many is this seemingly simple association option called inverse...


Enqueue Jobs Quickly with Sidekiq’s Bulk Features - Andy Croll
We often have to enqueue lots of the same type of job at the same time. Perhaps it’s a data migration for all of one kind of object, or a data processing step that‘ll run faster if it’s parallelised.Our focus is often on the potentially large queu...


ActiveStorage with Rails 7 | Upload Files in Rails - YouTube
Hello FriendsIn this video, you will learn how to upload files in rails using ActiveStorage. We will learn this using rails 7 and implement the feature into our video where we saw how to implement bootstrap5 with rails 7.Here is the link for the v...


Configuring Rails system tests for headless and headfull browsers
Want to run your system tests headless? And why not both ways? Here’s how to extend Rails tasks to run your system tests with the driver of your choice.Rails 6 came with system tests baked-in, and so if you generate a new Rails app today, you end ...