refactored seeds.rb

use local variable