#
# Table name: current_relations
#
-# id :bigint(8) not null, primary key
-# changeset_id :bigint(8) not null
+# id :bigint not null, primary key
+# changeset_id :bigint not null
# timestamp :datetime not null
# visible :boolean not null
-# version :bigint(8) not null
+# version :bigint not null
#
# Indexes
#
element = model.lock("for share").find_by(:id => m[1])
# and check that it is OK to use.
- raise OSM::APIPreconditionFailedError, "Relation with id #{id} cannot be saved due to #{m[0]} with id #{m[1]}" unless element&.visible? && element&.preconditions_ok?
+ raise OSM::APIPreconditionFailedError, "Relation with id #{id} cannot be saved due to #{m[0]} with id #{m[1]}" unless element&.visible? && element.preconditions_ok?
hash[m[1]] = true
end