I’m upgrading a #Rails app from 7.1 to 8.02. The App uses tailwindcss-rails even though I don’t use any #TailwindCss in the app. I had problems taking Tailwind to 4.x so I pinned it to ~> 3.3.1 per the README. I’d love to get over the hump and get it all the way to 4.x. but there was an @forms plugin that seemed to be missing.
Anyone know of specific steps to upgrade a Rails App? (The instructions seem more geared to a generic App and I can’t seem to make the translation). Boosts appreciated.
Reminder that I’m available to hire for casual #Ruby #Rails #DeveloperExperience things like improving tests, dependency upgrades, and, my favourite, writing code style rules!
https://www.issylong.com/work-with-me/
It sounds fairly niche, but hey, I know what I like and what I’m best at!
A video of these trains: https://youtu.be/b_LRlE0i2TE
Classic trains waiting for restoration (Old trains in the middle of nowhere) Belgium Jan 2024
@mbajur my problem is that the #Rails ecosystem already has a lot of simple #CMS.
#AlchemyCMS has features that my customers know from other professional CMS and therefore expect them to be included as well.
However, a #hotwire revamp for #alchemy would be pretty cool as well as the backend is functional but #hotwirejs would clearly be a modern addition.
Or a migration to #ActiveStorage from #dragonfly.
It's also become clear to me that legacy #programming organizations by and large are wildly unprepared to serve your best interests by standing up to Big Tech, because duh, they are *funded* by Big Tech. Is an org sponsored by Shopify going to protect you from the harms perpetuated by Shopify? Lol, nope.
Open source also won't save you. In many ways, it created the problem.
We need *entirely new cooperatives*, based on real ethical principles and not crony capitalism.
Welp, #Ruby just can't quit #Rails. Or the corporate sponsorship dollars which are totally "ick" you might say.
The problem with niche markets—like Ruby—is if you don't stand on moral principles and core values, uh, what is the actual point? I can just pivot to TypeScript and be in the programming mainstream, messy and regularly unethical as it is.
Ruby as a community has lost all appeal. MINASWAN is nostalgia, not present reality. You can have your DHH and your AI!
I'll have no part of it.
Also, important PSA if you're working with #Rails, (and this may actually be a #Ruby thing, or maybe a #PostgreSQL thing, or combination):
I was trying to run a seeds.rb file to load data into my test env db. That script references an external (local) file with a bunch of items, each line being correctly formed data for an ltree path.
I kept getting errors on line one. I tried a bunch of things, and none worked.
Turns out my text file had a UTF-8 BOM, and script no likey.
3+h of madness.
New blog post: how we made more efficient use of a web app's database for a substantial performance boost https://blog.pablobm.com/2025/05/28/batch-and-delay-db-writes-improve-performance/
In short:
1. Group together sequential `INSERT` statements to the same table.
2. Temporarily store large blobs of data in #Redis or similar, if storing in a relational database is only useful later and only in certain events.
There, that's the meat of the article. I saved you having to read it
The specific stack was #Ruby #Rails #Postgres, but the technique was mostly technology-independent.
(And because we have now come to this: no "AI" was used at any point in the writing of this article ).