A comprehensive Rails API application designed for debugging workshops and learning Rails development best practices. This repository includes everything you need to get started with Rails debugging, testing, and development.
Recommended: Open this repository in GitHub Codespaces for a pre-configured development environment.
- Ruby 3.3.5 with Bundler 2.6.6
- Rails 7.2.2.2 (API-only mode)
- PostgreSQL 15 database
- VS Code with Ruby extensions
- All development tools pre-installed
rails-debugging-workshop/
βββ .devcontainer/ # Codespace configuration
β βββ Dockerfile # Ruby 3.3.5 + tools
β βββ devcontainer.json # VS Code settings
β βββ docker-compose.yml # PostgreSQL service
β βββ setup.sh # Automated setup
βββ app/ # Rails application
β βββ app/ # Controllers, models, views
β βββ config/ # Rails configuration
β βββ Gemfile # HashiCorp-style gem management
β βββ README.md # Rails app documentation
βββ README.md # This file
- Ruby 3.3.5
- Bundler 2.6.6+
- PostgreSQL 15+
- Node.js 18+ (optional)
-
Clone the repository
git clone <repository-url> cd rails-debugging-workshop
-
Install dependencies
cd app bundle install -
Set up the database
bundle exec rails db:create bundle exec rails db:migrate
-
Start the server
bundle exec rails server