• Heinrich Lee Yu's avatar
    Use the format_response hook for API requests · b9faed27
    Heinrich Lee Yu authored
    With endpoint_run, we were missing some Redis / DB calls that are
    triggered during the serialization of data.
    
    This happens very frequently because ActiveRecord relations are loaded
    lazily and these are most likely going to be triggered during
    serialization.
    b9faed27
peek.rb 1.13 KB