-
How I code without service objects - Code with Jason
Service objects and Interactors are fashionable among Rails developers today. I can’t speak for everyone’s motives but the impression I get is that ser.
-
Why Write Rails View Tests
There are many ways to test a Ruby on Rails application, but there is one way that is not so often discussed. That is the way of testing Rails views. Y.
-
Timecop vs Rails TimeHelpers
Timecop is the go-to gem for testing time-dependent code, as it allows you to manipulate the current time during test runs. This is important because w.
-
Anything I Want With Sequel And Postgres | Janko's Blog
At work I was tasked to migrate our time-series analytics data from CSV file dumps that we’ve been feeding into Power BI to a dedicated database. Our R.
-
Lazy-loading content with Turbo Frames and skeleton loader
Hotwire is a new suite of frontend tools from Basecamp for building “reactive Rails” apps while writing a minimal amount of JavaScript.While the most e.
-
Which is fastest? ERB vs. HAML vs. Slim
A fast app means happy users. The speed that your pages render depends on which templating system you use. In this article, Diogo Souza puts the three .
-
Using CockroachDB with Rails
When I work in Rails apps, I don’t find myself worrying too much about the database. Since Rails natively supports popular databases like MySQL and Pos.
-
Rails 7 adds the ability to schedule the query on the background thread pool
These queries get executed sequentially which in most cases isn’t a big deal. However, as our database grows in size, response times get longer and lon.
-
Long term support for Ruby on Rails 2.3, 3.2, and 4.2
After a few years of service, old versions of the Ruby on Rails framework reach end-of-life. At this point the volunteer team that maintains Rails will.
-
A Rubyist's Walk Along the C-side (Part 1): Hello World!
In this article, we’ll explore how you can set up and build your very first Ruby C extension. At the end of this article, you will be able to write the.