I have a question for any people here who are deploying some backend apps to servers (like VPSes) and *not* using Docker/Kubernetes/containers etc. - what tools are you using for doing deploys?

(Not looking for something that configures and prepares the whole server with accounts, SQL servers, apt packages and so on - just for deploying code to the server)

#vps #ruby #rails #rubyonrails #devops

If you want to infuse knowledge into your AI agents Minerva is for you. https://github.com/jorgegorka/minerva

#rails #ruby #opensource

GitHub - jorgegorka/minerva: An MCP server to infuse wisdom into your AI agent.

An MCP server to infuse wisdom into your AI agent. - jorgegorka/minerva

GitHub

J’ai créé un serializer ruby qui va plus vite que la lumière... ⚡

J’avais écrit un article en anglais il y a quelques mois, et voilà la version cocorico ! 🐓 🇫🇷 🥖 🧄

https://moskitohero.com/fr/2025/05/06/an-introduction-to-barley-the-fast-model-serializer.html

#ruby #rails

Introduction à Barley, le sérialiseur éclair

Les origines L’entreprise pour laquelle je travaillais avait une API vieillissante en v1 qui était très mal conçue et lente dans son implémentation. Elle servait 4 plateformes frontend (un site web, deux applications mobiles et un outil d’administration). Étant dans un environnement de startup, notre équipe devait aller vite, mais c’était au détriment de la performance et de la maintenabilité. C’était la situation quand je suis arrivé. Retourner des objets JSON était très fastidieux. On utilisait une méthode custom disponible dans chaque modèle qui construisait un Hash imbriqué, basé sur les attributs que vous lui donniez. C’est vite devenu un vrai bordel à gérer avec de mauvaises performances et des implications de sécurité préoccupantes. C’était difficile à maintenir, le nommage des variables et le comportement de la fameuse méthode étaient étranges, et donc nous avons entrepris de nous en débarrasser et sommes passés à une sorte de DSL de sérialiseur qui a été progressivement introduit pour remplacer l’usine à gaz. Plus tard, nous avons décidé de refactorer notre API avec une nouvelle version pour nous débarrasser de cet encombrante dette technique. Quelques exigences ont rapidement émergé, parmi lesquelles : L’API V2 devrait être facile à maintenir, avec des conventions de nommage claires et un namespacing Puisqu’il s’agit d’une API interne, elle devrait être étroitement couplée à l’utilisation et à la plateforme prévues L’API V2 devrait utiliser une sorte de DSL de vue pour générer les payloads JSON L’API V2 devrait être aussi prévisible que possible en termes de typage et de formatage L’API V2 devrait être super rapide par défaut. Ce devrait être la dernière chose que nous devons optimiser

MoskitoHero

Hôm nay chia sẻ cách xây dựng SaaS đầy đủ tính năng chỉ với Rails 8 và triển khai bằng MỘT lệnh! 🚀
Stack siêu gọn:
- Rails 8.1 + Hotwire
- PostgreSQL làm database chính
- Kamal 2 deploy chỉ với `kamal deploy`
- Solid Queue cho background job
💡 Lợi ích:
• Không cần Redis nhờ "bộ ba Solid" (Queue/Cache/Cable)
• Chi phí ~€20/tháng (Hetzner)
• Zero-downtime deployment
• Dễ mở rộng khi cần thiết

Hoàn hảo cho indie dev/team nhỏ: đơn giản, tốc độ, tiết kiệm!

#Rails #RubyOnRa

RailsのパーシャルとViewComponent、どう使い分ける? 「FES READY」の実例で整理してみた
https://qiita.com/hinanata72/items/1a4e9cef5c452cb00f2c?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items

#qiita #Ruby #Rails #未経験 #個人開発 #初学者

RailsのパーシャルとViewComponent、どう使い分ける? 「FES READY」の実例で整理してみた - Qiita

はじめに こんにちは!hinata です。 Railsでビューを書いていると、 「とりあえずパーシャルに切り出す」 こと、よくありませんか? 最初はスッキリしていたはずなのに、 画面ごとの差分が増える if / elsif / else のような条件分岐が増える 引数が...

Qiita
Release v5.0.1 · AlchemyCMS/alchemy_i18n

What's Changed Add announcement secrets to post-release workflow by @tvdeyen in #79 Pass rubygems_api_key secret to release workflow by @tvdeyen in #80 Fix install generator for Alchemy 8.0 by @Co...

GitHub

Recently reminded that early Basecamp only stayed up in production because Master Developer DHH had a script to restart the Rails process every fifteen minutes.

At least at The Company, *our* Senior Pythonista Wunderkind (who loudly demanded that Ruby was a shit language and Rails was unfit for production) ran his production services in a GNU Screen session on his personal user account on the prod box.

Which we only learned after The Company parted ways with him, after the umpteenth shouting match with the guy who cut his paychecks.

(Also, in case he's reading: hope you're well, dude. Miss you.)

#rails #webdev #production #devops #ruby

If you are doing some planning this week, consider adding checkpoints for upgrading your #Rails app

Specifically, if you are still running Rails 7.2T.x
Security fixes end: August 9, 2026

Maybe it sounds like there is enough time but time flies.

Melbourne's shiny new Parkville metro station, serving both Melbourne University and the Parkville hospital precinct.

#train #trains #rail #rails #railway #railways #Melbourne #Australia