Skip to content
Browse files

load commissions fixes

  • Loading branch information...
1 parent fa08fa2 commit e98ae3ae8bd733752c526f36ba7a71ae0724c577 @tukan tukan committed Mar 18, 2012
Showing with 1 addition and 5,369 deletions.
  1. +1 −1 lib/tasks/load_commissions.rake
  2. +0 −5,368 parsed_uiks_1.txt
View
2 lib/tasks/load_commissions.rake
@@ -34,7 +34,7 @@ namespace :commissions do
commissions[region_name][number] = { coordinates: coordinates, address: row[3] }
end
- Commission.includes(:regions).all.each do |commission|
+ Commission.includes(:region).all.each do |commission|
puts "Searching: #{commission.number} from #{commission.region.name}"
found_region = commission[commission.region.name.downcase]
View
5,368 parsed_uiks_1.txt
0 additions, 5,368 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit e98ae3a

Please sign in to comment.
Something went wrong with that request. Please try again.