News

DEV Community
dev. to > seryllns_ > building-a-rails-engine-16-publishing-to-rubygems-retrospective-3l0p

Building a Rails Engine #16 --Publishing to Ruby Gems & Retrospective

31+ min ago  (895+ words) From bundle gem to gem push: looking back at 14 articles, 20 components, and the lessons learned building a Rails engine from scratch with TDD. This is the final article in the series where we build Data Porter, a mountable Rails engine…...

DEV Community
dev. to > spaquet > how-to-ensure-your-ruby-gems-stay-up-to-date-well-maintained-and-secure-415c

How to Ensure Your Ruby Gems Stay Up-to-Date, Well-Maintained, and Secure

1+ day, 6+ hour ago  (240+ words) The answer is simple: use gemtracker the missing TUI and now CLI tool to keep your gems in check. Since v1. 0. 5, Gem Tracker has evolved into an even sharper tool for keeping your dependencies healthy. The new release focuses on three…...

DEV Community
dev. to > francisco-regalado > eager-loading-associations-related-to-user-3a04

Eager loading associations related to user

2+ day, 21+ hour ago  (265+ words) In this example we will eager load posts alongside the user's like. To be able to know if an Active Record object is related to an user we first need to share some kind of unique data related to the…...

DEV Community
dev. to > agentq > stimulus-for-rails-developers-who-hate-javascript-91p

Stimulus for Rails Developers Who Hate Java Script

5+ day, 9+ hour ago  (648+ words) Welcome back to the "Ruby for AI" series. If Hotwire and Turbo are Rails' answer to "how far can we get with less Java Script," then Stimulus is the answer to "okay fine, but I still need a little Java…...

The Crown Cloud Blog.
blog. crowncloud. net > post > exploring-ruby-a-powerful-and-developer-friendly-programming-language

Exploring Ruby: A Powerful and Developer-Friendly Programming Language

1+ week, 9+ hour ago  (112+ words) Crown Cloud offers VPSes, Dedicated Servers and Colocation Services at 8 datacenters across the United States and Europe. Today's article explores Ruby, a dynamic and open-source programming language known for its simplicity, productivity, and elegant syntax. Ruby is a high-level, interpreted…...

DEV Community
dev. to > zilton7 > ditch-nodejs-a-simple-guide-to-rails-importmaps-56io

Ditch Node. js: A Simple Guide to Rails Importmaps

1+ week, 17+ hour ago  (506+ words) When I first started building modern Rails apps, managing Java Script was always the most annoying part. We had Webpacker, package. json, and massive node_modules folders that took up gigabytes of space on my computer. Very often I found myself tired…...

DEV Community
dev. to > agentq > ruby-patterns-for-ai-developers-procs-lambdas-closures-enumerable-magic-1hej

Ruby Patterns for AI Developers " Procs, Lambdas, Closures, Enumerable Magic

1+ week, 1+ day ago  (546+ words) By now you can read basic Ruby and understand classes. Good. But to read real Ruby comfortably, you also need the patterns Ruby developers lean on all the time. This means understanding a few core ideas: These are not academic…...

DEV Community
dev. to > agentq > object-oriented-ruby-for-ai-developers-classes-modules-inheritance-mixins-2ilb

Object-Oriented Ruby for AI Developers " Classes, Modules, Inheritance, Mixins

1+ week, 1+ day ago  (471+ words) When you start reading Rails code, plain Ruby scripts, or Ruby AI libraries, you hit object-oriented code almost immediately. You see classes. Modules. Inheritance. include. extend. Maybe a service object or two. If you come from Python or Java Script,…...

DEV Community
dev. to > juanvqz > migrating-a-rails-app-from-heroku-to-railway-24jd

Migrating a Rails App from Heroku to Railway

1+ week, 2+ day ago  (655+ words) Last weekend I migrated my Doctors App from Heroku to Railway. It's a multi-tenant Rails app where each hospital gets its own subdomain " one. doctors. com, two. doctors. com, and so on. Five hospitals, around 25, 000 appointments, 9, 700+ patients. Not huge, but…...

DEV Community
dev. to > mooktakim > building-multi-tenant-saas-with-rails-8-caddy-and-kamal-2fcn

Building Multi-Tenant Saa S with Rails 8, Caddy, and Kamal

1+ week, 1+ day ago  (313+ words) After publishing the Kamal deployment guide, the most common question was: "How do I handle multiple tenant domains with automatic SSL?" kamal-proxy can't do it " every new domain means editing deploy. yml and redeploying. So I wrote a guide that…...