-
Managing authentication in your Ruby on Rails 5 app with Auth0
Learn how to create an application in Rails 5 with Auth0.... -
A community-driven Rails Security Checklist
This checklist is limited to Rails security precautions and there are many other aspects of running a Rails app that need to be secured (e.g. up-to-dat
-
Implementing soft deletes from scratch - Patrik on Rails
When you soft delete a record, you do not remove it from the database, but you mark it as deleted instead. Then you can decide if you want to show it t -
Asynchronous Programming in Ruby – Medium
In traditional programming practice, I/O operations happen synchronously. The main thread will be blocked until I/O operation gets completed and CPU re -
How the F does Sprockets Load an Asset?
How does an asset get compiled? It’s less of a pipeline and more of a recursive ball of, well assets. To understand the process we will, start off with -
Common Rails Idioms that Kill Database Performance
Many of the most common ActiveRecord idioms produce SQL which doesn't scale well as your dataset gets larger. In this article I discuss three of the wo -
Periodic Tasks with sidekiq-cron Drifting Ruby
Using a third-party add-on, sidekiq-cron, we can create periodic tasks to extend the functionality of sidekiq....
-
Ruby Coercion Protocols Part 1 - DNSimple Blog
Ruby has powerful protocols to coerce a type into another one. We'll learn how to take advantage of this mechanism to make our code open for...
-
Systematize your database— The Ruby way to be the croupier of migrations.
Ever wondered how the croupiers do that shuffle when they separate the card deck in two and just mix both piles into one? I’ve tried that multiple time
-
Your first Progressive Web App on Rails - rossta.net
This tutorial shows how to make a Progressive Web App on Rails using the serviceworker-rails gem...