Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Ruby on Rails: Debugging

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn techniques for debugging and fixing errors in Ruby on Rails applications.

Syllabus

Introduction
  • Debugging and fixing errors on Ruby on Rails applications
  • What you should know
  • Why debugging?
1. Backtraces
  • Reading backtraces
  • Unlocking full backtraces
  • Challenge: Backtraces
  • Solution: Backtraces
2. Debugging in Templates
  • Debugging variables
  • Debugging functions
  • Debugging objects
3. Binary Searching
  • Binary searching your code
  • Manual binary searching in tests
  • Automatic binary searching in tests
  • Binary searching in Git
  • Automatic binary searching in Git
4. Logging
  • Using logs
  • Logging: Practical case in a test
  • Logging: Practical case fixing N+1
5. Interactive Debugging
  • Introduction to the debug gem
  • Navigating the execution flow
  • Adding breakpoints
  • Integrating with Visual Studio Code
  • Using the web-console gem
6. Fixing Common Errors and Researching
  • Fixing the most common errors when using Ruby on Rails
  • Researching on the internet
Conclusion
  • Putting it all together
  • Next steps

Taught by

David Morales

Reviews

4.8 rating at LinkedIn Learning based on 29 ratings

Start your review of Ruby on Rails: Debugging

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.