alfonsouceda.bsky.social
Web software Developer. Ruby. DevOps apprentice
25 posts
57 followers
237 following
Prolific Poster
Active Commenter
comment in response to
post
The more I’ve worked in Rails the more I’ve decided to not use them. My life has been easier since then
comment in response to
post
Lo malo de los controladores de rails es eso, es difícil testearlos en solitario.
No tengo tiempo ahora pero si no te mostraba como he hecho yo para la API de open AI, pero basicamente es eso. Uno real y otro Fake.
comment in response to
post
¿El controlador hace la llamada externa o es una clase?
Mejor que lo haga una clase, puedes testearla usando VCR para que tengas una respuesta real.
El problema que puedes tener es si haces otro tipos de tests como los de integración. Yo creo adaptadores tanto para test como real.
comment in response to
post
I tend to follow this pattern github.com/aaronjensen/...
comment in response to
post
Estaré atento!
comment in response to
post
¿Alguna vez los has dado a un grupo de personas sin ser de la misma empresa? Como si tuvieras un cupo de personas que les interese y cuando se llene organizarlo.
comment in response to
post
Mira si te vale algún video de estos de Gumroad. youtu.be/bEU15KXIAVk?...
Tienen varios, echales un ojo
comment in response to
post
How do you run puma? I think there is a difference while running bundle exec rails server and bundle exec puma -C config_file.rb. For us, the latter didn’t load dotenv when running the puma config file, so finally switched to the rails server
comment in response to
post
Congrats!
comment in response to
post
Tecnología de una fintech, por ejemplo como se controla el tema del dinero
comment in response to
post
What the difference to write the SQL statement like that and not using SQL?
comment in response to
post
See gist.github.com/fxn/bf4eed25...
comment in response to
post
Yeah and also you can use github.com/trailblazer/... but we have a custom run_operation with the following “endpoints”: success, policy_failed, validation_failed and otherwise.
So this makes easy to respond with the correct answer depending on the result, because not all the failures are the same
comment in response to
post
We don’t use that but a similar approach built with trailblazer operations
comment in response to
post
Me he tenido que ir a las 15 minutos, mañana veo el diferido y lo sufro
comment in response to
post
Mac is so hostile for devs nowadays :S
comment in response to
post
Cuidaillo!
comment in response to
post
Yo tengo este de Phantom City Creative.
comment in response to
post
Molaría tenerlo grande. ¿Sabes dónde conseguir la imagen con gran resolución?
comment in response to
post
I could create a starter pack, but I recommend the one from @joshuawood.net
Starter Pack: bsky.app/starter-pack...
What I have is a list :)
bsky.app/profile/did:...