toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

227
active users

#rails

3 posts3 participants0 posts today

I just upgraded a #Rails app from 7.0 to 8.0 only to realise after agonising for two days that in version 7.1, "eager loading" ActiveStorage records was "fixed" so now it takes 1200 ms to load a page in production instead of 120 ms.

Continued thread

Solved - I think 🤞
This was helpful: github.com/rails/tailwindcss-r
I ended up removing the plugins from config/tailwindconfig.js, doing the Tailwind upgrade with rails tailwindcss:upgrade and then adding the plugins back to app/assets/tailwind/application.css after the upgrade succeeded.

More testing to do, but so far, so good.

First off, everything works great with Tailwind v4 beta. 🎉 One of the changes is that it uses CSS-first configuration now. This is helpful and makes the tailwind.config.js optional. In fact, the co...
GitHubTailwindCSS v4 - upgrade experience report · rails tailwindcss-rails · Discussion #450First off, everything works great with Tailwind v4 beta. 🎉 One of the changes is that it uses CSS-first configuration now. This is helpful and makes the tailwind.config.js optional. In fact, the co...

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.

A project we kicked off in March, have worked on pretty much non-stop and have done loads of interesting new work on, all started to come together today.

Learnt loads; fully containerised dev & prod environment, brand new #rails 8 app, Avo dashboards, headless CMS, AstroJS website, new analytics platform, “novel” Google Docs to CMS ETL process, 3-stage production/staging/trunk AWS accounts and environments all driven from opentofu. Me and my hautboys team close to launch!

#Rails question: does anyone know if you can enable/disable (and even install?) Rails Engines at runtime, to behave as some sort of dynamic application extension plugin system? I'm wondering about having a way to enable optional features for @manyfold...

Friendly reminder that @rubycentral has decided to platform hate at the last #railsconf by having #dhh speak.

The community has already fought this battle and removed his hate from our conference but apparently @rubycentral has no spine.

What happened to #MINASWAN ? How are our lgbtq+ or minority community members supposed to feel welcome and safe when you actively platform someone who rails against them at every opportunity.

Choose a local conference instead!