News

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...



Logidze 1.0: Active Record, Postgres, Rails, and time travel
Logidze is a Ruby library to track Active Record changes: whenever a record is updated in the underlying PostgreSQL database, Logidze stores the difference between the old and the new state, allowing you to time travel to any point in the record’s...

A scientific, systematic methodology for solving any programming problem - Code with Jason
In order to fix any problem, you need to know two things:What exactly is wrongHow to fix itThe beautiful thing is that if you have the right answers for both the two items above, you’re guaranteed to fix the problem. If your fix doesn’t work, then...