• Bob Van Landuyt's avatar
    Load the devise initializer before metrics · 3a39c818
    Bob Van Landuyt authored
    Metrics tries to initialize the `EventsFinder` to instrumnt it. The `EventsFinder` tries to load the `Event` model, which in turn loads the `User` model.
    
    Loading the `User` model requires Devise to be initialized. So to avoid problems around this, we load devise before loading metrics.
    3a39c818
8_devise.rb 10.3 KB