app/models/hood.rb in geopolitical-0.8.4 vs app/models/hood.rb in geopolitical-0.8.6

- old
+ new

@@ -9,13 +9,7 @@ field :rank, type: Integer field :zip, type: Integer belongs_to :city - validates :city, :name, presence: true - - scope :ordered, -> { order_by(name: 1) } - - def to_s - name || slug - end + validates :city, presence: true end