From 332b6c58da58a2382ca7988fac2371f591ee8026 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Mon, 5 Dec 2016 11:44:47 +0100 Subject: [PATCH] fix hound --- db/migrate/20161123161514_create_samples_tables.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/migrate/20161123161514_create_samples_tables.rb b/db/migrate/20161123161514_create_samples_tables.rb index 0dfedf95f..f643c4235 100644 --- a/db/migrate/20161123161514_create_samples_tables.rb +++ b/db/migrate/20161123161514_create_samples_tables.rb @@ -1,5 +1,4 @@ class CreateSamplesTables < ActiveRecord::Migration - @@def_state = { 'time' => 0, 'start' => 0, 'length' => 10, @@ -60,7 +59,6 @@ class CreateSamplesTables < ActiveRecord::Migration User.find_each do |user| next unless user.organizations user.organizations.find_each do |org| - org_status = @@def_state.deep_dup next unless org.custom_fields org.custom_fields.each_with_index do |_, index|