models: require belong_to associations on geo_area
This commit is contained in:
parent
aff2713032
commit
afb1c33154
3 changed files with 7 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
# geo_reference_id :string
|
||||
#
|
||||
class GeoArea < ApplicationRecord
|
||||
belongs_to :champ
|
||||
belongs_to :champ, optional: false
|
||||
|
||||
store :properties, accessors: [
|
||||
:description,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue