1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/models/country_state.rb

7 lines
200 B
Ruby

# frozen_string_literal: true
class CountryState < ApplicationRecord
has_many :membership_applications, dependent: :restrict_with_exception
validates :name, presence: true, uniqueness: true
end