Matt-Yorkley
26ed44412f
Update #validates definitions
...
Where the presence of an object is being validated and that object comes from an *association*, we should use `validates :object, presence: true` instead of `validates :object_id, presence: true`.
This does not apply in the same way to validations on uniqueness of certain attributes, such as `validates :object_id, uniqueness...`
2021-03-24 15:43:09 +00:00
..
2020-10-30 10:12:56 +00:00
2021-03-03 18:19:26 +01:00
2020-06-26 15:45:58 +01:00
2020-11-06 14:57:31 +00:00
2021-03-24 15:43:09 +00:00
2020-02-22 14:03:16 +01:00
2012-03-27 10:10:26 +11:00
2013-08-12 10:00:35 +10:00
2020-02-22 14:03:16 +01:00
2020-07-24 16:00:37 +01:00
2019-10-18 21:15:11 +01:00
2021-03-24 15:43:09 +00:00
2021-03-17 15:15:57 +00:00
2021-03-18 13:18:20 +00:00
2020-12-03 06:38:24 -08:00
2020-01-15 12:57:38 +01:00
2021-03-24 15:43:09 +00:00
2021-03-24 15:43:09 +00:00
2021-03-04 14:32:55 -08:00
2019-10-18 21:15:11 +01:00
2019-05-28 12:57:29 +01:00
2020-03-12 16:54:09 +00:00
2021-03-23 21:22:03 +00:00
2021-03-10 16:09:09 +01:00
2020-04-30 15:00:13 +02:00
2021-03-18 21:53:00 +00:00
2020-06-22 16:51:46 +01:00
2020-06-22 16:51:46 +01:00
2021-03-18 21:53:00 +00:00
2017-09-23 14:58:35 +10:00
2020-01-15 12:57:38 +01:00
2021-03-17 15:15:57 +00:00
2020-02-22 14:03:16 +01:00
2021-03-24 15:43:09 +00:00