Browsing Tag
rails
53 posts
Advanced Techniques for Working with Ruby Collections 🎯
Working with collections, such as arrays and hashes, is a fundamental part of programming in Ruby. While basic…
Auto-magically generate sequence diagrams of your code’s runtime behavior
Sequence diagrams are frequently described as “the best part of UML”. Their inherent structure – objects flowing across…
Using Action Cable with React and Rails.
Intro Earlier this week I wanted to use Action Cable for its nice two way connections. I ended…
All the ways to render an ActionText Attachment
There’s so many ways to render an ActionText attachment, we can change the app/views/active_storage/blobs/_blob.html.erb in a previous post.…
Friendly IDs for Ruby on Rails
Do you have URLs like /books/1 or /secret_things/10 and wish that they were friendlier? Also, wish the IDs…
How To Create A Ruby On Rails API With Scaffold – Full 10 Step Guide In 5 Minutes
This guide is multi-use, designed for passing a code challenge but could be useful for jumping into a…
HotReload with Ruby on Rails 7
Hi Folks, Just published a small article about the hot-reload in Ruby on Rails 7 on medium. Hope…
Service layer for business logic — Organizing code in a Rails monolith
Our engineering team builds the Aha! suite using a Rails monolith. We carefully weighed a number of options…
Ruby on Rails Naming Conventions
David Heinemeier Hansson, the creator of Ruby on Rails, believed in the importance of convention over configuration. In…
Rails guide – Adding CI – Part 5
Hey guys! How are you? This article is a part of a series that will teach how to…