-
Why does Rails 6 include both Webpacker and Sprockets?
Since you're reading this post, chances are you've heard Rails 6 installs both Webpacker and Sprockets and you're wondering WTF is going on. By the way.
-
New 2.7/3.0 keyword argument pain point - Ruby on Rails Discussions
Hi, this is Matz. A few Rails core developers (including DHH himself) contacted me that the recent keyword argument changes are too painful. I admit we.
-
The Practical Effects of the GVL on Scaling in Ruby
The Global Virtual Machine Lock confuses many Rubyists. Most Rubyists I’ve met have a vague sense that the GVL is somehow bad, and has something to do .
-
TechRabbit: Rails 4 Engines
Rails Engines is basically a whole Rails app that lives in the container of another one. Put another way, as the docs note: an app itself is basicall.
-
7 Patterns to Refactor Fat ActiveRecord Models
Early on, SRP is easier to apply. ActiveRecord classes handle persistence, associations and not much else. But bit-by-bit, they grow. Objects that are .
-
The Secret to Rails OO Design - Literate Programming
I often tell people that I learned Ruby via Rails. This is pretty much the worst way to do it, but I'd learned so many programming languages by then th.
-
Create a Video Party App With Rails Part 1: Building the Backend
My son recently celebrated his 9th birthday, and like many kids his age, he was looking forward to his birthday party for months. In the midst of the C.
-
Brakeman: Brakeman 4.8.2 Released
Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications.This release introduces a new option and two new checks!Cha.
-
Animations with Turbolinks and Stimulus
When navigating back, Turbolinks will first display a preview of the page that was stored in the local cache and then replace this preview by the serve.
-
Extracting a tidy PORO from a messy Active Record model
In 2006 Jamis Buck wrote a famous post called Skinny Controller, Fat Model. In it Jamis observed that Rails developers often put too much logic in cont.