Ruby on Rails: Debugging

Go to class
Write Review

Free Online Course: Ruby on Rails: Debugging provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Ruby on Rails: Debugging is taught by David Morales.

Overview
  • 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