diff options
| author | cedricnjanga | 2017-11-16 16:44:37 +0100 | 
|---|---|---|
| committer | Guillaume | 2017-11-16 16:44:37 +0100 | 
| commit | 3f39b62beb9ff7af741696a6c3c7e87737c3a257 (patch) | |
| tree | cbb89c8eb78fa9349bf499ffc01483d25554c3d0 /app/models/chouette/route.rb | |
| parent | e5fcb0cc0728cbb673c1f5cf346e865fbbbc593a (diff) | |
| download | chouette-core-3f39b62beb9ff7af741696a6c3c7e87737c3a257.tar.bz2 | |
Add Cédric new objectid concerns
objectid_support handles reading and writing object_ids
objectid_formater_support gets the right formater class
include these concerns in chouette models
Remove StifNetexAttributSupport modules because these are handled by the new objectid concerns
Add a objectid and formater classes for each format type
Add objectid formats to the factories
Modify somes specs for object_ids but there are still a number of failling tests
Diffstat (limited to 'app/models/chouette/route.rb')
| -rw-r--r-- | app/models/chouette/route.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/models/chouette/route.rb b/app/models/chouette/route.rb index d0c1adf1c..853ecee85 100644 --- a/app/models/chouette/route.rb +++ b/app/models/chouette/route.rb @@ -1,7 +1,7 @@  class Chouette::Route < Chouette::TridentActiveRecord    include RouteRestrictions    include ChecksumSupport -  include ObjectIdFormatToReferential +  include ObjectidSupport    extend Enumerize    extend ActiveModel::Naming | 
