Benito Serna (@bhserna) 's Twitter Profile
Benito Serna

@bhserna

Rails developer, working at briq.mx.

📖 Fix n+1 queries on rails 👉 bhserna.com/fix-n+1-querie…

ID: 53811828

linkhttp://bhserna.com calendar_today05-07-2009 01:57:35

1,1K Tweet

536 Takipçi

1,1K Takip Edilen

Benito Serna (@bhserna) 's Twitter Profile Photo

In the writebook code I found the pattern of using index_by(&:itself) to declare enums stored as strings… I have been using it a lot

In the writebook code I found the pattern of using index_by(&:itself) to declare enums stored as strings… I have been using it a lot
Benito Serna (@bhserna) 's Twitter Profile Photo

I’ve been using a simple but (I think) powerful “Publishable” concern, here is the code if you want to use it in some way… you just need a status column in your model #rails

I’ve been using a simple but (I think) powerful “Publishable” concern, here is the code if you want to use it in some way… you just need a status column in your model

#rails
briq.mx (@briqmx) 's Twitter Profile Photo

¿Qué mejor forma de comenzar nuestra celebración de 10 años que con estos números que lo dicen todo? 🤩 Nada de esto sería posible sin ustedes. 💙 Gracias, briqers y desarrolladores, por su confianza. ¡Sigamos construyendo juntos! 🚀 #NuestroImpactoEsGrande

Carmine Paolino (@paolino) 's Twitter Profile Photo

Looking for MCP support in RubyLLM? Patrick Vice has built exactly that 🎉 Go give him some love and contributions! This will be part of a growing ecosystem of RubyLLM-based gems. More to come soon! 😉 github.com/patvice/ruby_l…

Sahil Lavingia (@shl) 's Twitter Profile Photo

If you're a new mom, we're hiring! • Backend: Ruby/Rails, TypeScript/Next • Frontend: React, Next Part-time (10-25 hours a week), work from anywhere, no mandatory meetings, $100-150/hr + equity. If you’re in or near NYC, we’d love for you to come in once a week; if you don’t

Lázaro Nixon (@lazaronixon) 's Twitter Profile Photo

CSS Zero 2.0 is here!!! 🎉 🌓 Use light-dark functions for dark mode 🔘 New color scheme component (Theme switcher) ⚒️ New icons component (CSS mask-image) 😍 Minimal changes and more... github.com/lazaronixon/cs…

James Hibbard (@jchibbard) 's Twitter Profile Photo

🤠 Forget placeholders & stock art — this tutorial shows how to create an image on the fly in Ruby, then edit it with prompts using Gemini + llm.rb. #Ruby #AI 0x1eef.github.io/posts/how-to-e…

Benito Serna (@bhserna) 's Twitter Profile Photo

This gem "llm.rb" looks interesting because instead of implementing a common interface for all providers... it has different classes for each provider I think that it will be easer to implement new behaviors from providers in this gem than in "ruby_llm"

Jorge Manrubia (@jorgemanru) 's Twitter Profile Photo

As promised: a video talking about how we architect Rails apps and Fizzy. Includes thoughts on Domain Driven Design, service objects, callbacks, and concerns. I will record more of these, but probably not as long!

Marc Köhlbrugge (@marckohlbrugge) 's Twitter Profile Photo

Here's the initial prompt I made by talking to ChatGPT: github.com/marckohlbrugge… Then had Claude interview me for technical decisions and compile summary here: github.com/marckohlbrugge… Finally, asked Claude to review 37signals' code, and compile a style guide with

Cursor (@cursor_ai) 's Twitter Profile Photo

Cursor's agent now uses dynamic context for all models. It's more intelligent about how context is filled while maintaining the same quality. This reduces total tokens by 46.9% when using multiple MCP servers.

Cursor's agent now uses dynamic context for all models.

It's more intelligent about how context is filled while maintaining the same quality. This reduces total tokens by 46.9% when using multiple MCP servers.
Carmine Paolino (@paolino) 's Twitter Profile Photo

Rewrote the Agentic Workflows guide using RubyLLM’s new Agent DSL, and it’s oh-so-clean! 🤩 Sequential, Routing, Parallel, Fan-Out/Fan-In, Evaluator-Optimizer, and RAG workflows, all in plain Ruby. Ruby is the best language to build AI apps. rubyllm.com/agentic-workfl…

Balint Orosz (@balintorosz) 's Twitter Profile Photo

XY Charts are live on Beautiful Mermaid - agents.craft.do/mermaid. Making these live up to the "beautiful" name was harder than expected!

XY Charts are live on Beautiful Mermaid - agents.craft.do/mermaid. Making these live up to the "beautiful" name was harder than expected!