Fix rubocop style issues

This commit is contained in:
Tom Hughes
2015-02-17 22:33:21 +00:00
parent baf10cd392
commit 5cbd4038ed
47 changed files with 530 additions and 638 deletions

View File

@ -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