shlogg · Early preview
Jetthoughts Dev @jetthoughts

Rails 7.2: New .devcontainer Folder Simplifies App Setup

Rails 7.2 generates .devcontainer folder with Redis, database, Headless Chrome & Active Storage ready to use, saving setup time for devs of all levels.

Exciting news from Rails! The latest Rails 7.2 has a new feature. When you create a new app, it now generates a .devcontainer folder.


  
  
  What's in the .devcontainer?

This folder has everything. It helps you start and work on your app. It's made for remote containers. Here's what's inside:

 Redis container: For Kredis and ActionCable.
 Database: You can choose SQLite, Postgres, MySQL, or MariaDB.
 Headless Chrome container: For system tests.
 Active Storage: Uses local disk and preview features.

  
  
  Why is this cool?

This feature is a time-saver, making the setup process a breeze...