cyrillefr
37814c46e5
Fix cop RedundantPresenceValidationOnBelongs
...
- presence: true is redundant since Rails 5.0 BUT applies
with new default config of
belongs_to_required_by_default to true
Lots of files with belongs_to_required_by_default = false
(backward compatibility)
So: deleting this setting implies to adding optional: true
on belongs_to relations where there is no explicit check for presence.
And also to delete redundant presence: true
The implicit becomes the explicit and vice versa
- updated toto list
2024-04-15 19:32:23 +02:00
..
2024-02-19 10:58:31 +11:00
2024-03-21 13:43:54 +11:00
2024-03-16 19:07:08 +05:00
2023-10-29 21:58:03 +01:00
2024-04-02 10:20:17 +01:00
2023-11-17 09:00:50 +09:00
2024-03-15 11:40:10 +11:00
2024-04-15 19:32:23 +02:00
2024-03-26 13:39:16 +00:00
2024-01-10 09:38:21 +11:00
2023-08-11 10:14:43 +10:00
2024-04-02 10:20:17 +01:00
2024-01-04 13:45:36 +11:00
2023-10-29 21:58:03 +01:00
2024-01-03 11:34:57 +01:00
2023-07-31 17:21:49 +01:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2024-04-15 19:32:23 +02:00
2023-08-11 10:14:43 +10:00
2023-09-13 16:45:00 +09:00
2023-04-18 22:58:06 +09:00
2024-04-15 19:32:23 +02:00
2024-04-09 10:44:02 +02:00
2024-02-27 09:51:58 +11:00
2021-04-15 15:59:03 +10:00
2024-04-02 10:20:17 +01:00
2024-03-26 13:39:16 +00:00
2024-04-15 19:32:23 +02:00
2024-04-09 10:44:02 +02:00
2023-10-06 10:58:49 +09:00
2024-04-15 19:32:23 +02:00
2021-12-10 18:18:20 +00:00
2024-03-26 13:39:16 +00:00
2023-10-06 10:58:49 +09:00
2023-08-11 10:14:43 +10:00
2024-04-09 10:44:02 +02:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2024-04-15 19:32:23 +02:00
2024-04-15 19:32:23 +02:00
2023-09-13 16:45:00 +09:00
2024-04-15 19:32:23 +02:00
2021-04-15 15:59:03 +10:00
2024-04-15 19:32:23 +02:00
2024-04-02 09:27:36 +11:00
2023-10-06 10:58:49 +09:00
2023-08-11 10:14:43 +10:00
2024-02-22 10:15:07 +11:00
2024-04-09 10:44:02 +02:00
2023-08-11 10:14:43 +10:00
2023-08-20 12:33:43 +09:00