Files
openfoodnetwork/app
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-16 23:37:24 +00:00
2021-03-24 15:43:09 +00:00
2021-03-04 14:27:02 +00:00