Agreed, though I would say that if you take away the well known Rails idioms that fail the test, there are still some pretty egregious violations.
For example, try to step through the code that figures out which validation callbacks to trigger for an ActiveRecord model. You'll be led through at least 3 dynamically eval'd methods.
I had to do this recently and probably would have given up had there not been Foo.method(:bar).source_location to point me in the right direction.
For example, try to step through the code that figures out which validation callbacks to trigger for an ActiveRecord model. You'll be led through at least 3 dynamically eval'd methods.
I had to do this recently and probably would have given up had there not been Foo.method(:bar).source_location to point me in the right direction.