News
There's No Such Thing as a Free Gem: How to roll your own Twitter OAuth flow in Rails
Dependency management is one of the most important aspects of modern application engineering, but the nuance required to navigate its inherent trade-offs is something few people take the time to thoughtfully consider. So today, let’s take that tim...
Five things I learned about SAML from studying a realistic example
I recently dug into execution traces of a saml-rails example app, looking for "points of interest" in the code. Here are five interesting things that I learned about SAML and how to integrate SAML into a realistic application.Note: The code snippe...
What is a reduction and why Fibers are the answer for Ruby concurrency
In the Ruby 3 features, a lot of attention went to Ractors - a new parallelism primitive which provides what can best be described as “Web Workers” - separate threads of execution with memory isolation from the spawning thread. However, there was ...
The Goodies in Rails Event Store 2.x | Arkency Blog
But… what is Rails Event Store and why would I use it? It’s a Ruby library to publish, consume and store events in your Rails application. Events are an architectural pattern that helps you decouple your code, record what’s happening inside your a...
Understanding The bcrypt Hashing Function And Its Role in Rails.
You may have implemented authentication in one of your apps, either directly with Rails’s has_secure_password or indirectly through a gem like Devise. Whichever way, you persisted user passwords in some way.How are passwords securely stores in a d...