photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

246
active users

#rails

1 post1 participant0 posts today
James Edward Gray II<p>I’m publishing a new series of articles on my blog this week. It’s my attempt to condense and share what I’ve learned in over 20 years of <a class="hashtag" href="https://genserver.social/tag/elixirlang" rel="nofollow noopener" target="_blank">#ElixirLang</a> / <a class="hashtag" href="https://genserver.social/tag/phoenix" rel="nofollow noopener" target="_blank">#Phoenix</a> / <a class="hashtag" href="https://genserver.social/tag/liveview" rel="nofollow noopener" target="_blank">#LiveView</a> and <a class="hashtag" href="https://genserver.social/tag/ruby" rel="nofollow noopener" target="_blank">#Ruby</a> / <a class="hashtag" href="https://genserver.social/tag/rails" rel="nofollow noopener" target="_blank">#Rails</a> development. I hope you find it helpful.</p><p><a href="https://programmersstone.blog/posts/jeg2s-questions/" rel="nofollow noopener" target="_blank">https://programmersstone.blog/posts/jeg2s-questions/</a></p><p><a class="hashtag" href="https://genserver.social/tag/myelixirstatus" rel="nofollow noopener" target="_blank">#MyElixirStatus</a></p>
Juliana Dias 👩🏻‍💻☕:ruby:<p>Pessoa Engenheira de Software Staff/Especialista - Backend<br>CLT - Remoto</p><p><a href="https://grnh.se/f8045aef2us" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">grnh.se/f8045aef2us</span><span class="invisible"></span></a></p><p><a href="https://ruby.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://ruby.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> <a href="https://ruby.social/tags/RubyOnRails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyOnRails</span></a></p>
BewilderedKat :nonbinary_flag:Somewhat suggestive, poll about rail networking
tom<a href="https://instapix.org/discover/tags/Zug?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Zug</a> mit Ansage ...<br> <br> <a href="https://instapix.org/discover/tags/FotoVorschlag?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#FotoVorschlag</a> 'Dinge die mit "Z" beginnen .... '<br> <br> <a href="https://instapix.org/discover/tags/photography?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#photography</a> <a href="https://instapix.org/discover/tags/photo?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#photo</a> <a href="https://instapix.org/discover/tags/fotografie?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#fotografie</a> <a href="https://instapix.org/discover/tags/photographie?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#photographie</a> <a href="https://instapix.org/discover/tags/urbanarchitecture?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#urbanarchitecture</a> <a href="https://instapix.org/discover/tags/bwphoto?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#bwphoto</a> <a href="https://instapix.org/discover/tags/transport?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#transport</a> <a href="https://instapix.org/discover/tags/rails?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#rails</a>
Paul Keen<p>🎉 ViewComponent 4.0.0 is here!</p><p>After 2 years since v3 🚀</p><p>✨ Key highlights:</p><p>Removes ActionView::Base dependency</p><p>Requires Rails 7.1+ &amp; Ruby 3.2+</p><p>New SystemSpecHelpers for RSpec</p><p>around_render lifecycle method</p><p>Reached feature maturity</p><p><a href="https://ruby.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> <a href="https://ruby.social/tags/ViewComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ViewComponent</span></a> <a href="https://ruby.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://ruby.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a></p><p><a href="https://github.com/ViewComponent/view_component" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ViewComponent/view_</span><span class="invisible">component</span></a></p>
Alda Vigdís<p>New blog post: Eager loading Rails ActiveStorage Variants Almost Killed My Site</p><p>"Our Heroku dynos were crashing. I was burning the midnight oil and there were no changes to my own codebase that could explain this".</p><p><a href="https://aldavigdis.dev/2025/07/21/eager-loading-rails-activestorage-almost-killed-my-site/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">aldavigdis.dev/2025/07/21/eage</span><span class="invisible">r-loading-rails-activestorage-almost-killed-my-site/</span></a></p><p><a href="https://topspicy.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://topspicy.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> <a href="https://topspicy.social/tags/RubyOnRails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyOnRails</span></a> <a href="https://topspicy.social/tags/Webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Webdev</span></a></p>
Alda Vigdís<p>I just upgraded a <a href="https://topspicy.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> 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.</p>
codeDude :archlinux: :neovim:<p>I figured out <a href="https://floss.social/tags/mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodon</span></a> is coded in <a href="https://floss.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> Now I motivated to take a look the source code. Probably in future I can make contributions.</p>
Shane Becker<p>Every year or two (especially with a major version bump), I re-read <a href="https://ruby.social/tags/Rails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rails</span></a> intro docs, guides, and onboarding materials</p><p>I re-watch intro videos and screencasts</p><p>To see what's new, yes<br>But also to see what ossified ways I have that have been obviated or improved</p><p>Too see with fresh eyes</p>

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.

#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...

Continued thread

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 🚀 blog.pablobm.com/2025/05/28/ba

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 🙄).

blog.pablobm.comBatch and delay DB writes to improve app performance
More from Pablo Brasero