Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Up Next: Lightning talks https://www.youtube.com/watch?v=zSeaNPjwnnA ###################### ### \o/ EuRuKo 2018 \o/ ### ###################### ### Day 1 ### Yukihiro Matsumoto - Keynote https://www.youtube.com/watch?v=cs0s5lZAUwc Chris Salzberg - Metaprogramming for generalists https://www.youtube.com/watch?v=1fIlcnrJHxs Joannah Nanjekye - Ruby in containers https://www.youtube.com/watch?v=qPNkOPvjecs Damir Zekić - Tool belt of a seasoned bug hunter https://www.youtube.com/watch?v=ObB0dzX_rBs Igor Morozov - Ducks and monads: wonders of Ruby types https://www.youtube.com/watch?v=v-H9nK8hqfE Brad Urani - Rails anti-patterns: how not to design your database https://www.youtube.com/watch?v=zo3iRBPzscU Coraline Ada Ehmke - The broken promise of Open Source https://www.youtube.com/watch?v=5ByUPh_uPqQ Louisa Barrett - Ruby not red: color theory for the rest of us https://www.youtube.com/watch?v=OgO1EIFDgPU ### Day 2 ### Nadia Odunayo - The case of the missing method — a Ruby mystery story https://www.youtube.com/watch?v=OlOA0aGxud0 Pitch the next EuRuKo's location https://www.youtube.com/watch?v=YXe9OoQW8lc Ana María Martínez Gómez - Let’s refactor some Ruby code https://www.youtube.com/watch?v=jUc8InwoA-E Pan Thomakos - Debugging adventures in Rack-land https://www.youtube.com/watch?v=5o4krwjJbOI Lightning talks https://www.youtube.com/watch?v=zSeaNPjwnnA Kerstin Puschke - Scaling a monolith isn't scaling microservices https://www.youtube.com/watch?v=tA8gGd_Rl7E Amr Abdelwahab - An empathy exercise: contextualising the question of privilege https://www.youtube.com/watch?v=6CqmGYvFwAQ Wrap up & announcing the next EuRuKo's location https://www.youtube.com/watch?v=wMggsShGTzk
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
The video titled "Debugging adventures in Rack-land" features speaker Pan Thomakos, who shares his experience with a bug in a Ruby on Rails application related to display preferences. The presentation is part of the EuRuKo 2018 event, focusing on the intricacies of debugging within the Rack framework, a minimal interface for web applications in Ruby. Key points of the presentation include: - **Introduction to the Bug**: Thomakos describes a "double refresh bug" encountered when users change their display preferences (from metric to imperial units) in an app. After saving preferences, refreshing the page wrongly resets the values, leading to confusion. - **Initial Investigation**: He confirms the bug is not related to database persistence, as values are saved correctly. He uses tools like Pry for debugging, enabling interactive console access during the method’s execution. - **Exploring Rack Middleware**: Thomakos delves into Rack’s functionality, emphasizing how it processes HTTP requests. He discusses how caching mechanisms, particularly through the entity map, can lead to stale data displayed after requests. - **Middleware and Caching**: The reasoning behind the unexpected behavior of the application relates to how Rack’s middleware operates, particularly with the entity map cache that retains values through sessions. Clearing this cache appropriately during web requests is critical for accurate data handling. - **Creating Custom Middleware**: He outlines a custom middleware example that tracks request durations, demonstrating how to achieve this correctly without affecting response accuracy. - **Identifying the Root Cause**: Ultimately, Thomakos traces the problem back to an e-tag middleware which failed to invoke necessary closure calls for other middlewares, highlighting the importance of lifecycle management in middleware. - **Conclusions**: He expresses the value of understanding how minor adjustments in the coding and middleware can lead to significant improvements in application performance and user experience. In conclusion, Thomakos’s talk showcases a real-world debugging scenario in a Ruby on Rails application, offering insights on Rack middleware’s role and how attention to detail within request lifecycle management can enhance system integrity. It serves as a practical exploration into the world of Ruby development and debugging frameworks.
Suggest modifications
Cancel