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