Ruby on Rails is a RubyGem implementing the model–view–controller (MVC) pattern in a server-side web application framework, providing default structures for a database, a web service, and web pages.
Tag: rails

Episode #661
Devcontainer Portmapping
A web app devcontainer isn't much good if you can't see the app. Let's talk about loopback addresses, interface binding, and port-mapping with docker-compose!

Episode #659
Caching Files in a Devcontainer
In a devcontainer, system files are ephemeral and subject to being reset any time the container is rebuilt. This can can be a problem for development package dependencies. In this …

Episode #627
Rake Global Tasks
Rake isn't just for running tests. You can use Rake to organize all your favorite development automation tasks across ALL your projects. Find out how, in this episode!

Episode #621
lsof; or: what process is using my port?!
Have you ever gone to start a local development server, only to have it complain that the port is already taken? In this episode you'll learn about how to use …

Episode #619
Eliminating RSpec Boilderplate with Claudio Baccigalupo
Join guest chef Claudio Baccigalupo and learn how to eliminate some common boilerplate code in RSpec Rails system specs.

Episode #605
StimulusJS
JS framworks are great for richly interactive client-side applications. But what if we just want to take a typical Rails app and spruce it up with a little bit of …

Episode #569
Polymorphic Attributes in Rails – Part 2
Previously, guest chef Corey Haines joined us to talk about representing complex structured data with custom attribute types in Rails. Today, he returns to show us how to implement polymorphism …

Episode #568
Polymorphic Attributes in Rails – Part 1
Sometimes model attributes need to have more structure than a simple string or number. In part 1 of a 2-part series on ActiveRecord polymorphic attributes, guest chef Corey Haines demonstrates …

Episode #564
Exploratory Refactoring
Playfully experiment with potentially redesigns of your Rails code, by temporarily removing ActiveRecord dependencies that would otherwise cramp your creative style. Guest chef Nick Sutterer shows you how!