app/models/unidom/contact/china/mobile_phone_number.rb in unidom-contact-china-1.0 vs app/models/unidom/contact/china/mobile_phone_number.rb in unidom-contact-china-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
# China Mobile Phone Number 是中国移动电话号码。
-class Unidom::Contact::China::MobilePhoneNumber < ActiveRecord::Base
+class Unidom::Contact::China::MobilePhoneNumber < Unidom::Contact::China::ApplicationRecord
FORMAT_VALIDATION_REGEX = /\A1[3-9]\d{9}\z/
self.table_name = 'unidom_china_mobile_phone_numbers'