Refactor registrars

#765
This commit is contained in:
Artur Beljajev 2017-11-20 08:10:59 +02:00
parent 7f2ad25ee6
commit a5869e0eca
35 changed files with 471 additions and 427 deletions

View file

@ -101,7 +101,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