demarches-normaliennes/app/models/cadastre.rb

8 lines
126 B
Ruby
Raw Normal View History

2016-01-15 15:28:56 +01:00
class Cadastre < ActiveRecord::Base
belongs_to :dossier
def geometry
JSON.parse(read_attribute(:geometry))
end
end