Files
nairobi/app/models
Javi Martín 0ca94e5443 Add and apply Rails/FindByOrAssignmentMemoization rule
This rule was added in rubocop-rails 2.33.

At first, I wasn't very fond of this rule. It made the code less
readable even if it improved performace in some cases.

Then I realized that in the `Admin::MachineLearning::SettingComponent`
we were using `find_by` when we should be using `find_by!` instead, and
we detected that thanks to this rule.

So, only for that reason, I'm adding this rule, but I'm fine if we
remove it.
2025-11-05 11:51:23 +01:00
..
2024-11-13 15:55:20 +01:00
2021-08-16 16:31:04 +02:00
2021-12-30 15:50:02 +01:00
2023-11-22 14:44:24 +01:00
2021-04-13 13:52:18 +02:00
2019-10-23 14:39:31 +02:00
2024-04-02 16:31:10 +02:00
2025-08-14 13:06:43 +02:00
2020-12-02 12:13:02 +01:00
2021-08-16 16:31:04 +02:00
2021-08-16 16:31:04 +02:00
2019-10-25 19:29:12 +02:00
2024-11-13 15:55:20 +01:00
2021-01-12 14:50:37 +01:00