News
Mastering Time Complexity in Ruby: A Comprehensive Guide with Code Examples and Tests - DEV Community
Coding time complexity is an essential concept in computer science that measures the amount of time it takes a particular algorithm to execute. It is important to understand time complexity, especially when developing software applications that re...
Introducing Security Device support on RubyGems’ CLI - RubyGems Blog
In a world where many maintainer accounts are being targeted to distribute malicious code via our packages, it is crucial to add more measures that will help prevent these account takeovers. At the end of 2022, we announced the addition of hardwar...
Middleware in Rails: What It Is, How It Works, and Examples
P.S. I suggest that you read my previous post "The Definitive Guide to Rack for Rails Developers" before reading this one. That should give you a good context for this post. If you're already familiar with Rack, keep reading.As we learned in the p...
Basics of Active Record Validations - DEV Community
Our applications do not exist in a vacuum. We will ideally have real people using and interacting with our programs constantly. In a perfect world, everyone would know our intentions as developers when asking for user input in things like a userna...
How GoodJob's mountable Rails Engine delivers Javascript importmaps and frontend assets
GoodJob is a multithreaded, Postgres-based ActiveJob backend for Ruby on Rails.GoodJob includes a full-featured (though optional) web dashboard to monitor and administer background jobs. The web dashboard is included in the good_job gem as a mount...
Apparently GPT4 understand AWS Cognito and the Sinatra Ruby web framework very well - YouTube
Quick experiment asking GPT4 to write all the authentication glue code between Sinatra and AWS Cognito. Haven't tried the code yet and a few issues popped out immediately, but at first glance it seems like it could save a huge amount of time.