app/models/province.rb in china_regions-0.4.4 vs app/models/province.rb in china_regions-0.4.5
- old
+ new
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class Province < ActiveRecord::Base
+class Province < ApplicationRecord
has_many :cities, dependent: :destroy
has_many :districts, through: :cities
end