diff options
| author | Alban Peignier | 2018-03-05 16:06:15 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-03-05 21:50:13 +0100 | 
| commit | 5d655eb93710e2d541e0314837567f0cf7ba88ee (patch) | |
| tree | 88a7248500f21385f9cd9263166feb6f79887754 /app/models/chouette/timeband.rb | |
| parent | 8163f367ff5e80130e4ad784bd6d6fa54e52e0f9 (diff) | |
| download | chouette-core-5d655eb93710e2d541e0314837567f0cf7ba88ee.tar.bz2 | |
Remove primary_key overriding in models. Refs #6112
Diffstat (limited to 'app/models/chouette/timeband.rb')
| -rw-r--r-- | app/models/chouette/timeband.rb | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/chouette/timeband.rb b/app/models/chouette/timeband.rb index 6155ffc77..5a4e17b98 100644 --- a/app/models/chouette/timeband.rb +++ b/app/models/chouette/timeband.rb @@ -10,7 +10,6 @@ module Chouette    class Timeband < Chouette::TridentActiveRecord      include ObjectidSupport      has_paper_trail -    self.primary_key = "id"      validates :start_time, :end_time, presence: true      validates_with Chouette::TimebandValidator  | 
