#rails

2025-12-11

🚀 Khi tách monolith Rails thành các component độc lập (users, marketplace, payments, subscriptions) → dùng API công khai (facade) để truy xuất dữ liệu người dùng thay vì gọi trực tiếp model. Giảm coupling, tăng tính bảo trì và mở rộng. #Rails #Microservices #SoftwareArchitecture #Decoupling #KiếnTrúcPhầnMềm #RailsVN #Microservice #CleanCode

dev.to/rbglod/untangling-the-r

2025-12-10

Dynamic Open Graph images. New premium feature in Pagecord! ✨

Please consider signing up, I think you'll like it.

#rails #indiedev #buildinpublic #blogging

blog.pagecord.com/dynamic-open

Goulven Champenoisgoulvench
2025-12-09

TIL in , controller callbacks are deduplicated based on the method name, _ignoring conditions_. If you have more than one callbacks pointing to the same method name with different conditions (if: this, unless: that), only the last one is kept. github.com/rails/rails/issues/ (status: wontfix) Same for models. So much for readability… This was tricky because the first callback was defined a concern!

codeDude :archlinux: :neovim:codeDude@floss.social
2025-12-08
nephariuznephariuz
2025-12-08

The bug hunt/goose chase that results when you forget the `.with_indifferent_access`. 🤦‍♂️

Hugo Trentesauxh30x@piaille.fr
2025-12-07

⬆️ @aeris pour tes amis qui aiment le #rails

Harisankar P Scoderhs@ruby.social
2025-12-07

Article about HTML picture tag hsps.in/post/html-picture-tag/ #Rails
#html #web Image Optimization

2025-12-06

#dhh being normal

「 A morbid side-effect of his condition is that his body is still alive, walking around, delivering keynote addresses at confs and screeds on social media. Yet he exists only as a macabre meat puppet, his sinews pulled taut, controlled entirely by the brain parasite he contracted from a WhatsApp group chat. This state of affairs is upsetting, and confusing, but it bears repeating: the man we knew and loved as dhh is gone 」

okayfail.com/2025/in-praise-of

#dhh #rails #opensource

2025-12-06

Schema-Enforced JSON Access, Postgres Type Decoding, and more!

mander.xyz/post/43104594

GripNewsGripNews
2025-12-04

🌘 在 Rails 中建構樂觀 UI(同時學習自訂元素)
➤ 運用自訂元素,打造即時回應、無須等待伺服器回傳的 Rails 使用者介面
railsdesigner.com/custom-eleme
這篇文章深入探討如何在 Ruby on Rails 應用程式中利用自訂元素(Custom Elements)建構樂觀使用者介面(Optimistic UI)。作者首先解釋了自訂元素的基礎概念及其與 Stimulus Controller 的異同,接著透過一個簡單的計數器範例,逐步引導讀者實作。文章的重點在於如何建構一個進階的樂觀表單,讓使用者在提交表單後能立即看到即時更新的 UI 反應,而無需等待伺服器回應。這種技術大幅提升了使用者體驗,即使伺服器回應延遲或失敗,也能提供流暢的使用感受。
+ 這篇文章太棒了!我一直對自訂元素感到好奇,這篇文章用非常清晰的範例解釋了它的運作方式,特別是如何用在 Rails 中。樂觀 UI 的概念也很實用。
+ 內容紮實,從基礎到進階的實作都有涵蓋。比較自訂元素
Components

2025-12-04

리모트 루비 팟캐스트

Ruby, Rails, Javascript 등 웹 개발 기술과 제품 구축을 다루는 주간 팟캐스트입니다.

#ruby #rails
ruby-news.kr/articles/rails-8-

Abdullah Esmailaesmail@ruby.social
2025-12-02

When #rails first came out, it revolutionized how you’d write web apps. It felt so magical and easy that even non-technical people could build websites very quickly with just a little effort. And they did. Rails made the barrier to entry so much lower. This led to a huge number of projects that failed, were abandoned, or were unable to grow without a major rewrite.

Fast forward 20 years. #AI is doing the same, but on a much bigger scale.

Abdullah Esmailaesmail@ruby.social
2025-12-02

I just learned about the `presence` method in rails. How did I not come across it all these years?

#rails #ruby

2025-12-01

리모트 루비 팟캐스트

주간 웹 개발 및 제품 구축 전문 팟캐스트입니다.

#ruby #rails
ruby-news.kr/articles/rails-ne

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst