Commit Graph

3 Commits

Author SHA1 Message Date
Utkarsh Gupta 1a2d05c3a6 Bump devise to 4.6
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
2019-05-21 16:56:27 +00:00
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