• Alex Kalderimis's avatar
    Change mechanism for classes to handle failure · 238812e5
    Alex Kalderimis authored
    Since classes that include RelativePositioning no longer can override
    low-level implementation methods to hook into internal details, this
    means that catching query timeouts and other failures systematically is
    no longer straightforward.
    
    This change allows classes to implement a new callback hook:
    `#could_not_move`, which is called with an exception if any of the
    movement methods times out.
    238812e5
relative_positioning.rb 19.5 KB