This week we had a very deep and hard to track down bug that was only happening
on certain Mac architectures. The problem came down to setting shape object
data on ActiveRecord models and then mysteriously having that field become nil
.
After setting pry breakpoints in several dozen places we still weren’t any closer to solving the problem. The magic meta that ActiveRecord supplies was making it an impossible exercise of patience to step through what seemed to be several hundred stacks of a statement that was this simple on the outside:
|