Lambdas referenced an undefined local variable 'region_number'.
Upgrade some Rails 2 finders to Rails 3/4.
More rails 2 finders -> rails 3/4.