mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#rails

12 posts11 participants0 posts today

Ok, I'm really enjoying using #Phlex in my #rails app.

I started using it in new projec to try (didn't manage to rewrite the layouts and get rid of simple_form, but other than that, I'm full on Phlex).

Now I'm rewriting ViewComponents to Phlex (with help of RubyUI, nice library!), and it's so much cleaner!

I wrote a post about why I like Phlex now, as it would be bit long for here:
dev.to/janmpeterka/using-phlex

Thanks @joeldrapper for this delightful gem!

DEV CommunityUsing Phlex helps me be a better programmerWhat is Phlex? If you are in the Ruby on Rails land, you might have noticed Phlex. A...
Replied in thread

@jofr @ajb the slow argument does generally not work anymore. Since ages.
And since you migrated to Python it's useless to even bring it up here, since you didn't migrate to a faster platform, didn't you? 😉

Library-wise it's a smaller selection of libraries but I'd claim that you can do pretty much everything.

#Rails integrates pretty much with every front-end library but also brings nice solutions with the #hotwirejs ecosystem.

I just figured out the dev experience in #rails console Even with my years of experience in #Ruby on #Rails I've never run rails console out of a #docker container. But there is autocompletation in rails console, in all my experience I've never seen that. I don't know if it's a rails 8 feature or is because I don't using docker now.

For years I've used solargraph to develop #Ruby on #Rails apps on #neovim but now I had the time to test #rubyLsp created by shopify and I need to say that ruby_lsp is better than solargraph with rails, this lsp is more efficient and actually the autocompletion is better too, neverthless I need to say that this is on Rails, if you want to build a ruby thing you need to create a several stuff that rails do. Usually solargraph works without dependencies

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.

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.