Commit e06370f24a97d553afe1835ad873b78436389b43

Authored by Rafael Martins
1 parent f7a50e0b

Fixed typo on NationalRegion model

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/models/national_region.rb
... ... @@ -55,11 +55,11 @@ class NationalRegion < ActiveRecord::Base
55 55  
56 56 def self.validate!(city, state, country)
57 57  
58   - coutry_region = NationalRegion.find_by_national_region_code(country,
  58 + country_region = NationalRegion.find_by_national_region_code(country,
59 59 :conditions => ["national_region_type_id = :type",
60 60 {:type => NationalRegionType::COUNTRY}])
61 61  
62   - if(coutry_region)
  62 + if(country_region)
63 63  
64 64 nregion = NationalRegion.search_city(city, false, state);
65 65  
... ...