News


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

Rails 6.1 allows per environment configuration support for Active Storage
Rails 6.1 allows environment-specific configuration files to set up Active Storage.In development, the config/storage/development.yml file will take precedence over the config/storage.yml file. Similarly, in production, the config/storage/producti...