demarches-normaliennes/app/models/cadastre.rb

8 lines
138 B
Ruby
Raw Normal View History

2018-03-06 13:44:29 +01:00
class Cadastre < ApplicationRecord
belongs_to :dossier, touch: true
2016-01-15 15:28:56 +01:00
def geometry
JSON.parse(read_attribute(:geometry))
end
end