Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Underneath the beautiful veneer of our Ruby libraries lies a twisted tangle of writhing guts. Maybe you're curious how the pieces fit together or maybe you're tracking down a bug, either way it's easy to get lost in the blood and bile that ties our code together. In this talk you'll learn how to use simple and sharp Ruby tools to slice into large libraries with surgical precision. We'll do some live hacking on Rails on the stage and cover useful code probing techniques. Turn your impossible bugs into pull requests, and level up your programming skills by Dissecting Ruby with Ruby. Help us caption & translate this video! http://amara.org/v/FG9O/
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the talk "Dissecting Ruby with Ruby" at Rails Conf 2013, Richard Schneeman explores the intricacies of Ruby libraries and provides programmers with the tools needed to effectively navigate and troubleshoot their code. He emphasizes how crucial it is to understand the inner workings of the libraries we use, enabling developers to tackle bugs and contribute to the Ruby community. The main points of the presentation include: - **Introduction to Ruby Tools**: Richard opens with his journey and introduces simple Ruby tools for inspecting libraries, urging attendees to keep their laptops open for hands-on learning. - **Accessing Libraries**: He explains how to open gems using Bundler, allowing developers to browse library source codes. This includes setting up their editor for code inspection. - **Debugging Techniques**: Richard advocates for using basic Ruby debugging methods like `puts` and `kernel.caller`, instead of relying solely on advanced debuggers. He shares a military analogy about tracer rounds to illustrate how Ruby provides insight into code execution paths. - **Finding Method Definitions**: He explains how to locate method definitions using `method` and `method.source_location`. This allows for understanding where in the library a particular method is defined. - **Case Study**: He outlines a real-world example involving an issue with the Rails method `link_to`. Richard details how to trace the problem's origin using the methods discussed, showcasing the process from identifying an issue to debugging it effectively. - **Contributing to Ruby**: The talk emphasizes the importance of not only fixing bugs but also engaging with the community by reporting issues and submitting pull requests, highlighting how this interaction can enhance both personal and community knowledge. - **Conclusion**: Richard encourages developers to leverage their newfound skills to contribute to the Ruby ecosystem actively. He reinforces that debugging is an essential part of development, which can lead to deeper insights into coding practices. Overall, the session aims to empower developers to transform from bug reporters to bug fixers, enriching their understanding of Ruby while encouraging contributions to open-source projects.
Suggest modifications
Cancel