Free Course Image Ruby on Rails for Beginners: Build a To-Do App, CRUD and Deploy

Free online courseRuby on Rails for Beginners: Build a To-Do App, CRUD and Deploy

Duration of the online course: 2 hours and 17 minutes

New

Build and deploy your first Ruby on Rails web app. Learn CRUD, routes, models and Tailwind styling in a free online course with a shareable certificate.

In this free course, learn about

  • Install Ruby on Rails and create a new Rails app with the rails new workflow
  • Know Rails’ default DB for small/prototype apps (SQLite) and why it’s zero-setup
  • Use scaffold to generate models, migrations, controllers, views, routes, and CRUD UI
  • Build a To-Do CRUD feature using scaffolded resources and Rails conventions
  • Create a Projects model and extend the app with additional CRUD actions
  • Understand routing basics, incl. :id dynamic segments passed to controllers as params[:id]
  • Use resources :projects to auto-generate RESTful CRUD routes instead of writing them manually
  • Grasp Active Record fundamentals: models, queries, validations, and database migrations
  • Connect To-Dos to Projects with associations and store project_id on the to_dos table
  • Style Rails views with Tailwind CSS and run the correct dev command to compile changes
  • Deploy a Rails app with Kamal and understand the high-level deployment flow
  • Know the end-to-end Rails components used: routes, controllers, views, models, DB/migrations, assets

Course Description

Turn an idea into a working web application with Ruby on Rails, one of the most practical frameworks for building full-featured products fast. In this beginner-friendly course, you will set up your environment, create a brand-new Rails app, and develop a clean, usable to-do tool that mirrors how real web projects are built. If you are coming from HTML/CSS or another language, Rails offers a clear structure and conventions that make it easier to understand how the parts of a modern app fit together.

You will experience the full workflow of building an application end-to-end: generating a project with Rails, creating resources that support create, read, update, and delete functionality, and wiring pages together through routing and controller actions. Along the way, you will work with models and the database through Active Record, learning how data is represented, queried, and updated in a way that stays readable as the app grows. You will also connect related data so your to-dos can belong to projects, a foundational skill for building anything beyond a single table.

To help your app feel like a real product, you will enhance the interface with Tailwind CSS, learning how to improve layout, spacing, and visual clarity without getting lost in complicated styling setups. Finally, you will take the important step many beginners skip: deploying your Rails app so it runs outside your local machine. By the end, you will understand the core Rails components working together, feel comfortable navigating a typical Rails codebase, and have a small portfolio-ready project that demonstrates practical web development skills.

Course content

  • Video class: Beginner's Guide to Installing Ruby on Rails - by Typecraft 13m
  • Exercise: When creating a new Rails app, what database does Rails use by default for small projects and prototypes because it requires zero setup?
  • Video class: Rails New, a Ruby on Rails tutorial for beginners with Typecraft 04m
  • Exercise: What does the Rails scaffold command generate to help you quickly build a CRUD resource (create, read, update, delete)?
  • Video class: Ep 1. Build a To-Do App with Rails Scaffold | Rails New Tutorial with Typecraft 14m
  • Exercise: What does the Rails scaffold command generate to quickly create a CRUD interface for a resource like to-dos?
  • Video class: Ep 2. Adding a Projects model | Rails New Tutorial with Typecraft 19m
  • Exercise: In Rails, what does the :id dynamic segment in a route like get '/projects/:id' provide to the controller?
  • Video class: Ep 3. Adding CRUD actions | Rails New Tutorial with Typecraft 31m
  • Exercise: What is the main benefit of using resources :projects in config/routes.rb instead of manually writing each CRUD route?
  • Video class: Ep 4. Active Record explained | Rails New Tutorial with Typecraft 13m
  • Video class: Ep 5. Connecting Projects 14m
  • Exercise: When connecting a To-Do to a Project in Rails, where should the foreign key column (project_id) be stored?
  • Video class: Ep 6. Make it look good with Tailwind CSS | Rails New Tutorial with Typecraft 06m
  • Exercise: After installing Tailwind CSS in a Rails app, which command should you use to start the server so Tailwind changes (like updated text colors) are compiled and reflected in the browser?
  • Video class: Ep 7. Deploy with Kamal | Rails New Tutorial with Typecraft 15m
  • Video class: That's a wrap! 02m
  • Exercise: Which set of Rails components did you build to make the app work end-to-end?

This free course includes:

2 hours and 17 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Web Development

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate