Files
openfoodnetwork/spec
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
..
2021-03-24 15:43:09 +00:00
2021-03-01 20:42:06 -08:00
2020-12-10 23:44:24 +00:00