HomeCoursesCreating Long-Lived Web Apps with Ruby on Rails
AI-powered learning
Save

Creating Long-Lived Web Apps with Ruby on Rails

Gain insights into creating Rails apps by focusing on consistency and best practices. Discover techniques for managing business logic, testing, and improving code quality without complex patterns.

170 Lessons
2 Projects
75h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • The ability to follow steps for creating a reliable and consistent database schema for Rails
  • Familiarity with managing code in each part of Rails: routes, controllers, views, Active Records, jobs, and more
  • Working knowledge of a pragmatic strategy that ensures quality without overtesting
  • Familiarity with techniques for managing business logic in a Rails app without complicated patterns or gems
  • An understanding of the core principles of sustainable web app development

Learning Roadmap

170 Lessons22 Quizzes

2.

Getting Started

Getting Started

Look at sustainable practices, assumptions, and cost management in Ruby on Rails development.

3.

The Rails Application Architecture

The Rails Application Architecture

5 Lessons

5 Lessons

Work your way through Rails architecture, views, models, pros and cons, and conventions.

4.

Start Our App Off Right

Start Our App Off Right

8 Lessons

8 Lessons

Grasp the fundamentals of creating, configuring, running, and maintaining a Rails application.

5.

Business Logic

Business Logic

6 Lessons

6 Lessons

Solve problems in managing business logic complexity to ensure sustainable, stable web apps.

6.

Routes and URLs

Routes and URLs

8 Lessons

8 Lessons

Investigate routing best practices, avoid unused configurations, utilize nested routes, and maintain clear URL structures in Rails.

7.

HTML Templates

HTML Templates

7 Lessons

7 Lessons

Master the steps to create structured, maintainable Rails views using semantic HTML, instance variables, and ERB.

8.

Helpers

Helpers

8 Lessons

8 Lessons

Learn how to use helpers effectively for UI, view models, testing, and secure markup.

9.

CSS

CSS

7 Lessons

7 Lessons

Unpack the core of effective CSS management strategies, frameworks, and design systems for Rails applications.

10.

Minimize JavaScript

Minimize JavaScript

5 Lessons

5 Lessons

Break apart JavaScript's challenges and embrace server-rendered Rails views for simpler web apps.

11.

Carefully Manage the JavaScript We Need

Carefully Manage the JavaScript We Need

3 Lessons

3 Lessons

Grasp the fundamentals of JavaScript management, framework selection, and effective testing in Rails apps.

12.

Testing the View

Testing the View

9 Lessons

9 Lessons

Dig into strategies for effective and maintainable view testing in Ruby on Rails.

13.

Models I

Models I

7 Lessons

7 Lessons

Simplify database access and modeling with Active Record and class/instance methods.

14.

The Database

The Database

10 Lessons

10 Lessons

Master the steps to plan and implement robust data models, migrations, and database constraints.

15.

Business Logic Code is a Seam

Business Logic Code is a Seam

5 Lessons

5 Lessons

Learn how to use stateless classes, explicit methods, rich result objects, and avoid certain patterns.

16.

Models II

Models II

6 Lessons

6 Lessons

Unpack the core of validations, callbacks, model testing strategies, and using Factory Bot for reliable data.

17.

End-to-End Testing

End-to-End Testing

13 Lessons

13 Lessons

Master the steps to test end-to-end scenarios, build UI, and manage business logic.

18.

Controllers

Controllers

6 Lessons

6 Lessons

Grasp the fundamentals of optimizing controller configurations, managing callbacks, and strategic testing in Rails.

19.

Jobs

Jobs

8 Lessons

8 Lessons

Map out the steps for managing and optimizing background jobs in Ruby on Rails apps.

20.

Other Boundary Classes

Other Boundary Classes

6 Lessons

6 Lessons

Investigate boundary classes like mailers, Rake tasks, Action Mailbox, Action Cable, and Active Storage.

21.

Authentication and Authorization beyond Rails

Authentication and Authorization beyond Rails

6 Lessons

6 Lessons

Practice using Devise, OmniAuth, and CanCanCan for secure authentication and role-based access control.

22.

API Endpoints

API Endpoints

11 Lessons

11 Lessons

Learn how to use Rails for effective, secure, and maintainable REST API development.

23.

Sustainable Process and Workflows

Sustainable Process and Workflows

9 Lessons

9 Lessons

Walk through sustainable CI practices, dependency management, automation, and efficient configuration in Rails applications.

24.

Operations

Operations

9 Lessons

9 Lessons

Work your way through enhancing observability, effective logging, performance measurement, and secure secret management in Ruby on Rails.

26.

Appendices

Appendices

3 Lessons

3 Lessons

Map out the steps for software versions, Docker setup, and architecture decisions.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameCreating Long-Lived Web Appswith Ruby on Rails
Developed by MAANG Engineers
ABOUT THIS COURSE
Ruby on Rails is a server-side web development framework. Are you an experienced Rails developer but struggle with managing the complexity your Rails apps acquire over time? You don’t need gems or complicated design patterns; you just need to focus on consistency, sustainability, and the best parts of Rails. In this course, you’ll learn straightforward techniques to apply to each Rails part, from routes to views to controllers to Active Records. You’ll learn to put business logic in separate Ruby classes that you can manage outside of Active Record, plus how these classes fit into Rails. You’ll also learn testing techniques for reliable system tests and useful unit tests. After taking this course, you’ll have a pragmatic list of techniques you can apply to any Rails project and a clear foundation for why these techniques work. You can write better Rails code and share the benefits with coworkers and colleagues.
ABOUT THE AUTHOR

David Bryant Copeland

Technical leader with experience from software development to building and managing software teams. Author of several programming books

Learn more about David

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath