Refactor registrars

#765
This commit is contained in:
Artur Beljajev 2017-11-20 08:10:59 +02:00
parent cee51e1ac5
commit 0f6a47d73d
47 changed files with 644 additions and 640 deletions

View file

@ -100,7 +100,7 @@ namespace :import do
puts "-----> Generating reference numbers"
Registrar.all.each do |x|
x.generate_iso_11649_reference_no
x.send(:generate_iso_11649_reference_no)
x.save(validate: false)
end