A Rails concern is a Ruby module. It isn't a separate kind of object or an alternative to Ruby's module system.
The useful comparison is between a plain Ruby module a...
5975 reads
Page 2 of 34
A Rails concern is a Ruby module. It isn't a separate kind of object or an alternative to Ruby's module system.
The useful comparison is between a plain Ruby module a...
5975 reads
When you build apps with Ruby on Rails, managing a lot of data can be tricky, especially when different parts of your app are similar but not the same.
Rails has a c...
2605 reads
Effective communication is essential for a developer to collaborate with team members, stakeholders, and clients successfully. In this article, I will share my approach ...
1804 reads
A Rails partial is a reusable piece of a view. Give its filename an underscore, pass it the data it needs, and render it wherever that piece of UI belongs.
The everyd...
10014 reads
Are you learning Ruby on Rails? If you’re like me, you’ve probably made many mistakes while using the framework.
I still make these mistakes today, but as I’ve learne...
1905 reads
This step-by-step tutorial will teach you how to create and deploy a new Rails app on a remote server using Dokku.
Whether you're a developer looking to test your a...
3375 reads
ActiveRecord plays a pivotal role in interacting with databases. One of the key concepts in database design is normalization, a technique for organizing and formatting d...
1957 reads
It’s great to see a resurgence of the framework responsible for so much internet goodness related to SaaS and web applications. It inspired me to make a somewhat biased ...
3271 reads
In this blog post, I will walk you through the process of creating an infinite scroll feature using Rails and Turbo. I wanted to see if using only Turbo was an option fo...
4842 reads
In this tutorial, I'll show you how to add Geolocation support to a search form using Ruby on Rails and Stimulus.js
By integrating geolocation capabilities, users can...
2917 reads
This is a super quick tutorial to show you the new ViewTransition API that ships with Turbo 8, which was released recently.
View Transitions are a neat way to add mor...
6149 reads
A responsive navbar needs more than a hamburger icon. The mobile menu and dropdown should work with a mouse, touch, and a keyboard, and their buttons should accurately a...
25836 reads
A modern course designed to help you start using and understanding Ruby on Rails fast. Coming soon!
A modern course designed to help you start using and understanding Ruby on Rails fast.
Save time and headache designing views, scaffolds, components, and making tough design decisions with the help of Rails UI.