mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
Fix rubocop style issues
This commit is contained in:
@ -12,9 +12,7 @@ namespace 'db' do
|
||||
|
||||
# should be offsetting not selecting
|
||||
OldNode.find(:all, :limit => increment, :offset => offset, :order => 'timestamp').each do |node|
|
||||
if hash[node.id].nil?
|
||||
hash[node.id] = []
|
||||
end
|
||||
hash[node.id] ||= []
|
||||
hash[node.id] << node
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user