@BilalBudhani Background jobs and migrations are two things that just seem natural and commonplace for Rails shops and seem to be complex ad-hoc messes for other stacks.
@LaughinOutLoudr@emcousin@bradgessler Even outside of potential flakiness, having your test setup be "rollback a transaction" vs. "build the test DB environment from scratch" will always be way, way faster.
@zilasino I have Rubocop suggestions highlighted, but I don't fail a build or require that Rubocop passes. A lot of the default settings can harm readability IMO in some cases and I find comment disabling noisy.
@levelsio@LarryVelez Lots and lots of reasons that the app works but not for a particular user, and 99% of the time that particular user isn't going to appreciate the distinction of "doesn't work for specifically you", and also is highly emotionally incentivized to review you.
@_swanson Definitely heredocs (the <<~WHATEVER format). Editors will often have formatting highlights for things like SQL and markdown in them and it's a nice reminder as to what the 'format' of the string is.
@zilasino Sidekiq, but with ActiveJob as an API. If I was starting something new I'd consider Solid Queue, but it's the sort of infrastructure thing where it's there and doesn't cause me any problems so I have no big reason to switch.
@zilasino Different tools for different situations. I will say though that service objects (at least the ones where the entire API is a call function with arguments) have been the source of more headaches than concerns for me though.
@thomasrice_au@noverloop@dhh I think that's fine, I just think if you're renaming branches to master just to "own the left" or whatever that's the same degree of virtue signalling BS.
@noverloop@dhh I thought the argument against the move was that it would be meaningless effort? Wouldn't the switch back be equally as meaningless? I don't recall anyone ever saying that 'main' was a BAD branch name, just that developers time would better be spent coding.
@bradgessler Any time I've had to do that it's that I had something enabled that couldn't be expressed in a schema.rb (for Postgres that's often using different postgres schemas or extensions or something lik that)
@lost_nomad__@mattyglesias Canada is a lot less polarized, and the "swing vote" is probably larger than 50% of the electorate (each party probably has a hardcore base of 10-15% support).
When the Liberals won pretty decisvely in 2015, they were in 3rd place with 20% of the vote when the writ dropped.
@nullpointered If Twitter existed in the 60s there'd be threads saying "wrap it up, programmers. This field won't exist in 2 years, business people will just write their own programs in COBOL"
@JasonSwett If you're just going to create a class with a `call` method and your background job just executes that function, what are you actually accomplishing? Jobs with most job libraries can be run synchronously or asynchronously, just use the job as your service class.
@AlexandraD38228 @ligmatism@normalson38995@nocontextmemes The movie clearly views Scott as redeemable, this isn't even subtext, it's shown in literal glowing lights.
@roadstar_jp @doconnoronca@danwaterfield@lara_e_brown The programs don't literally crawl through the cable and invade your phone, there needs to be exchange of data and your phone needs to execute code, saying "programs will ignore permissions" is nonsensical.
@caseyprovost Hey @caseyprovost , would love to chat but I'm having some trouble DMing. We're very "Rails way" at Supercast and looking for people who like working w/ Hotwire in particular. ryan at supercast dot com
@joeldrapper @nateberkopec It's certainly easier to set up alerts if your queues aren't meeting their SLO with separate queues. Also broad management tools can be used (i.e. pause the lower priority queues when needed)
@khash@joelmoss I think a big part of this is that the front-end ecosystem is very largely built around JS driving control flow and navigation, and that's incompatible with "omakase" rails at a pretty fundamental level. Rails does a lot of FE stuff "in house" because they're swimming upstream.