cpm retweetledi
cpm
3.2K posts

cpm
@cpm
Software developer. Theatre hobbyist. Gamer. That covers the basics! He/Him/His
Media, PA Katılım Nisan 2007
363 Takip Edilen274 Takipçiler

@zilasino For new work I use ActiveStorage. For existing projects that started with CarrierWave, I stick with that. CarrierWave has everything on the model while ActiveStorage adds some joins, so if a legacy app isn't careful you can accidentally end up with subtle N+1 if you migrate.
English

@phillyrb @kcdragon_ Curious what the % of attendance work at Power Home Remodeling? RailsConf left me with the impression that most rubyists currently in the area are work there.
English

We had a great time listening to @kcdragon_'s Intro to Hotwire Native last night. We're working on setting up some great speakers in 2026. We already have January setup (look for the announcement soon) and have slots for February and March open for anyone looking to give a talk.

English

@phillyrb @kcdragon_ Sorry to have missed it! Need to clear my calendar for these in-person Philly.RB meetups. Haven't been to one since the University City days. I could potentially talk about rehabbing rspec test suites for legacy applications if anyone would be interested in that.
English

@ThePrimeagen I refuse to believe anyone at any point of history did a significant amount of editing in ed. Only reason I've ever opened it was because Linux for Dummies had a chapter on it back in the day.
English

While I truly love declarative code that expresses a domain model .... I have to admit a sneaking suspicion that the "code should communicate the design" adage is going to get revised. I suspect we're going to see more domain modeling happen one level up from the current level of code implementation. Basically, what we see in things like DDD and "Domain Modeling Made Functional" but as an input to coding agents. It's like extending the trend of high-level languages up another tick.
English

@samsutliff 2003 me couldn't imagine anything replacing AIM or video calls ever being good.
English

I don't know what happened to my YouTube algo a few weeks ago that makes it now feed me 30% @ThePrimeagen react videos, but I'm here for it.
English

@JasonSwett @solnic29a There's 2 pieces here. 1) Should we use cmd/form objs? Maybe. Depends how complex CreateUser is. 2) Is PM more readable for success/fail processing? Maybe. I like non-recoverable failures (like DB failure) to be exceptions. If you only have 2 states left, PM is noisier.
English

@solnic29a Relative to a Rails controller I feel like there's too much noise and machinery. (To be fair I think your example and my example don't do the exact same thing.)

English

Ideally, code tells a high-level story about what's happening, and hides the machinery that gets in the way of the storytelling. It shows the essential and hides the incidental.
I feel like this code does roughly the opposite.
Peter Solnica@solnic_dev
As a Rails dev, when you see code like this - what are your thoughts? 🤔
English

@schwad_rb There was a published version of _why's guide?? How am I only learning about this now?
English






