Refactoring from feature specs to system specs
Lately, I've been writing a lot of RSpec tests, and I came upon a conundrum — Should I write feature specs, or system specs? Given that RSpec released .
How to use Cursor IDE to make changes in a Rails app
The first task that I asked was about replacing an HTML with a component. To achieve this in Cursor (MacOS edition) you have to select the text and the.
We used to store files as base64 strings in Postgres, but not anymore | The Official MailPace Blog
Email attachments are always encoded into base64 for sending, so our API specifically asks for that as the input format. Yes, there are a million bette.
How to Improve Rails Caching with Brotli Compression
Caching is an effective way to speed up the performance of Rails applications. However, the costs of an in-memory cache database could become significa.
Express yourself clearly with positive? and negative? for numbers - Andy Croll
Ruby, in contrast to other languages, often provides multiple ways to accomplish simple programming tasks. In pursuit of developer happiness, the Stand.
When counting lines in Ruby randomly failed SerpApi deployments
Recently, we observed the occasional failing deployments only on two of our servers. The failed servers even were closing my regular SSH connection. In.
Rails 7.1 Authentication From Scratch (Example) | GoRails
Rails 7.1 introduces many new features for authentication. In this lesson, we'll show you how to implement authentication from scratch using Rails 7.1'.
Rails Middleware: (Almost) Everything You Need to Know
Most web applications have some functionality that's common for many (or even all) HTTP requests. For example, an application will authenticate the use.
We Turned Lobste.rs into a Rails Benchmark for YJIT | Rails at Scale
We’re very proud of how well YJIT, the default JIT in CRuby, optimizes Rails apps. We’ve been using small Rails benchmarks for a couple of years. But a.
Ruby 3.3.0-preview2 Released
We are pleased to announce the release of Ruby 3.3.0-preview2. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses Lrama as a parser generator,.