Commit Graph

2 Commits

Author SHA1 Message Date
Rémy Coutable 3a2abc1d50
Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Bob Van Landuyt 3a39c818c5 Load the devise initializer before metrics
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.
2018-12-18 16:22:52 +01:00