]> git.openstreetmap.org Git - rails.git/commit
Remove redundant presence validation on belongs_to
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 23 Feb 2022 16:25:43 +0000 (16:25 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Tue, 1 Mar 2022 10:01:16 +0000 (10:01 +0000)
commit8938ab79975d4152a4d6d3c8ceafdbda30b6b367
tree5164178efcadf5182a594521a71f9c31666e7b1a
parent2122d1843ebee7dd3fe21a0b647cfd9e3750dfb7
Remove redundant presence validation on belongs_to

There's no need for us to have it when rails does this for us.
22 files changed:
.rubocop_todo.yml
app/models/changeset.rb
app/models/changeset_comment.rb
app/models/changeset_tag.rb
app/models/issue_comment.rb
app/models/message.rb
app/models/node.rb
app/models/node_tag.rb
app/models/note_comment.rb
app/models/old_node.rb
app/models/old_node_tag.rb
app/models/old_relation.rb
app/models/old_relation_tag.rb
app/models/old_way.rb
app/models/old_way_tag.rb
app/models/relation.rb
app/models/relation_tag.rb
app/models/report.rb
app/models/trace.rb
app/models/user_preference.rb
app/models/way.rb
app/models/way_tag.rb