From 70313954ea0431f02826aa5aaafefedea3c8fb00 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Fri, 17 Nov 2017 18:07:29 +0100 Subject: Add some changes to the objectid construction --- app/models/referential.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'app/models/referential.rb') diff --git a/app/models/referential.rb b/app/models/referential.rb index 8e64ef57d..8003d342f 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -1,10 +1,6 @@ class Referential < ActiveRecord::Base include DataFormatEnumerations -<<<<<<< HEAD include ObjectidFormatterSupport -======= - include ObjectidFormaterSupport ->>>>>>> Create objectid format and integrate it in models. Work in progress. Refs #4941 extend Enumerize validates_presence_of :name @@ -60,11 +56,7 @@ class Referential < ActiveRecord::Base belongs_to :referential_suite -<<<<<<< HEAD enumerize :objectid_format, in: %w(netex stif_netex stif_reflex stif_codifligne), default: 'netex' -======= - enumerize :objectid_format, in: %w(netex stif_netex stif_reflex stif_codifligne) ->>>>>>> Create objectid format and integrate it in models. Work in progress. Refs #4941 scope :ready, -> { where(ready: true) } scope :in_periode, ->(periode) { where(id: referential_ids_in_periode(periode)) } -- cgit v1.2.3