8 lines
126 B
Ruby
8 lines
126 B
Ruby
|
class Cadastre < ActiveRecord::Base
|
||
|
belongs_to :dossier
|
||
|
|
||
|
def geometry
|
||
|
JSON.parse(read_attribute(:geometry))
|
||
|
end
|
||
|
end
|