diff options
| author | Xinhui | 2017-07-18 14:44:05 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-07-18 14:53:45 +0200 | 
| commit | 6d2ff080cc989e8f74f7f90ed7d0b1828e4271c2 (patch) | |
| tree | 59f69a0033ed5031ffd56e45a253255357c7e4b4 /app/models/concerns | |
| parent | d7cd5400a4910be4e21e812b2261f45d86537daf (diff) | |
| download | chouette-core-6d2ff080cc989e8f74f7f90ed7d0b1828e4271c2.tar.bz2 | |
Tmp fix build_objectid update objectid without validation
Refs #4092
Diffstat (limited to 'app/models/concerns')
| -rw-r--r-- | app/models/concerns/default_attributes_support.rb | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/concerns/default_attributes_support.rb b/app/models/concerns/default_attributes_support.rb index 81d9dccd4..e85a59160 100644 --- a/app/models/concerns/default_attributes_support.rb +++ b/app/models/concerns/default_attributes_support.rb @@ -77,7 +77,6 @@ module DefaultAttributesSupport    def build_objectid      if objectid.include? ':__pending_id__'        fix_uniq_objectid -      self.objectid       = objectid        self.object_version = object_version - 1        self.save(validate: false)      end  | 
