Fix rubocop warnings
This commit is contained in:
parent
96b1bff9fb
commit
282ff4936c
7 changed files with 37 additions and 22 deletions
|
@ -370,7 +370,7 @@ class Relation < ActiveRecord::Base
|
|||
# materially change the rest of the relation.
|
||||
any_relations =
|
||||
changed_members.collect { |_id, type| type == "relation" }
|
||||
.inject(false) { |a, e| a || e }
|
||||
.inject(false) { |acc, elem| acc || elem }
|
||||
|
||||
update_members = if tags_changed || any_relations
|
||||
# add all non-relation bounding boxes to the changeset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue