7 lines
138 B
Ruby
7 lines
138 B
Ruby
class Cadastre < ApplicationRecord
|
|
belongs_to :dossier, touch: true
|
|
|
|
def geometry
|
|
JSON.parse(read_attribute(:geometry))
|
|
end
|
|
end
|