Fix error when running 'rake db:seed'