#til To Find where a method is defined within #Rails, #source_location comes in handy. This helps me better understand the underlying implementation of how things work so beautifully in #Rails, thank you
Eileen Uchitelle for sharing this tip in your keynote :) #RubyUnconf2024 #ruby #Hamburg #germany
@rkofman yeah, maybe check the docs for the required interface (it's probably #match? Or #matches? plus #failure_message) and look for anything where those methods' #source_location is in ./spec or a gem? That should get you the classes; then you can grep for their names to find the helper method that uses them