Alfonso Uceda
alfonsouceda.bsky.social
Alfonso Uceda
@alfonsouceda.bsky.social
Software Engineer. Ruby. Rails. DevOps apprentice
I know it is not the same but I did it in Google Cloud SQL. The upgrade is done "automatically" but in my case I had to put in maintenance the app.
November 24, 2025 at 10:03 AM
I guess you will have to find guides how to replicate postgres instances. I think with kamal you will have to provide another accessory for v18 and then configure it to replicate from v16, when v18 is in sync with v16, then change the DATABASE_URL (or the host) to the new one.
November 24, 2025 at 10:01 AM
Y rápido de cojones. Era una versión muy buena
November 20, 2025 at 8:29 PM
The view part would be similar to be honest, the only thing is that you can encapsulate in methods some logic inside the viewcomponent class. The HTML+ERB part wouldn't change in both areas unless in your partial you add some ruby code inside it.
As I said, the advantage for me is unit testing
November 20, 2025 at 9:26 AM
I wouldn’t consider viewcomponent as that because just write html + FORMAT, the advantage is that I can test unit the rendering logic that could contain that visual fragment. Same for trailblazer cells.
November 20, 2025 at 6:57 AM
Reposted by Alfonso Uceda
Came across two new job postings for Junior Rails positions in one day!

jobs.lever.co/commonlit/7e...
jobs.rubyonrails.org/jobs/8903-ju...
November 17, 2025 at 6:53 PM
Reposted by Alfonso Uceda
holaaaa! es triste pedir pero más triste es robar: busco trabajo como senior software engineer (backend o fullstack)

si conoces sitios chulos, full remote, tírame un dm o un correo a [email protected]

gracias! 🌱
November 17, 2025 at 6:00 PM
I don’t, but I could try to write one explaining the inspiration and how we use it.
November 17, 2025 at 2:42 PM
Something like that:

square_installation = Controls::Integration::SquareInstallation.example

product = Controls::Product.example(name: 'Product', Integration_installation: square_installation)

offer = Controls::Offer.example(products: [product])
# Inside offer control
offer.products << products
November 17, 2025 at 2:30 PM
I don't stub anything. In our application we have one thing called Controls that are ruby classes that creates or builds active record objects. Similar to fixtures, factories, all that stuff.
So building an offer I could associate the products objects I want (not persisted, just built)
November 17, 2025 at 2:25 PM
It is "hard" because it uses `sum` from AR and AR does not provide any mechanism to mimic that. Ideally it would be nice to create an AR collection in tests without persisting in the DB and the use `sum` in that AR collection
November 17, 2025 at 1:56 PM
It depends. Ideally no but it is complicated. If you have an interface that provides good mimic for fatabase persistence, there id no need for hiting the database. If you use raw SQL then it is the way to go. You need to test that SQL statement
November 17, 2025 at 1:31 PM
Yeah me neither, I think it is better plain CSS (well structured of course)
November 17, 2025 at 8:04 AM
Is not possible to create a css class and apply all the taildwind classes with @apply directive?
November 17, 2025 at 7:15 AM
Habría que mejorar muchas cosas de la administración pública antes que usar IA, pero si estaría bien para ayudar
November 15, 2025 at 2:31 PM
One day, I will be one of those ocaml devs
November 14, 2025 at 10:21 PM
Need context please
November 14, 2025 at 11:24 AM
Reposted by Alfonso Uceda
🌸 Hanami 2.3 is here, and it’s racked and ready!

This is our biggest release yet. Rack 3, resource routes, and so much more.

hanamirb.org/blog/2025/11...
Hanami 2.3: Racked and Ready
Our biggest release yet. Rack 3, resource routes, and so much more.
hanamirb.org
November 12, 2025 at 1:20 PM
No sabía esto último, pues vaya futuro uff
November 12, 2025 at 10:12 AM
No se si a raiz de eso están los procesos que tienen mas pruebas que las 12 pruebas de Asterix y Obelix o ya venía de antes.
November 12, 2025 at 9:54 AM
Well my question is more for when you project an event you change the entity. Is it not better to test only one projected event? And if you need some initial state for some event projection, create the entity in that "state"
November 11, 2025 at 3:33 PM
Why would you test several projections? Why not just one projection?
November 11, 2025 at 3:15 PM
Reposted by Alfonso Uceda
Jajaaj, me encanta esta miniserie: «Corriendo por barrios chungos de Madrid».

Los barrios más chungos, son el Viso, Salamanca, Aravaca, Nueva España..., es decir, los barrios donde concentran el mayor número de ladrones: empresarios y políticos que saquean lo público y roban lo que es de todos. 👇😂😂
November 10, 2025 at 8:14 AM
I love that tool for displaying events correlation, is it open source?
November 8, 2025 at 2:23 PM