demarches-normaliennes/app/models/quartier_prioritaire.rb

7 lines
150 B
Ruby

class QuartierPrioritaire < ActiveRecord::Base
belongs_to :dossier, touch: true
def geometry
JSON.parse(read_attribute(:geometry))
end
end