demarches-normaliennes/app/models/procedure_presentation.rb
2017-10-02 17:45:22 +02:00

9 lines
200 B
Ruby

class ProcedurePresentation < ActiveRecord::Base
belongs_to :assign_to
def displayed_fields
read_attribute(:displayed_fields).map do |field|
field = JSON.parse(field)
end
end
end