diff options
Diffstat (limited to 'app/models/concerns/ci/metadatable.rb')
-rw-r--r-- | app/models/concerns/ci/metadatable.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/models/concerns/ci/metadatable.rb b/app/models/concerns/ci/metadatable.rb index d91f33452a0..1c6b82d6ea7 100644 --- a/app/models/concerns/ci/metadatable.rb +++ b/app/models/concerns/ci/metadatable.rb @@ -9,10 +9,11 @@ module Ci extend ActiveSupport::Concern included do - has_one :metadata, class_name: 'Ci::BuildMetadata', - foreign_key: :build_id, - inverse_of: :build, - autosave: true + has_one :metadata, + class_name: 'Ci::BuildMetadata', + foreign_key: :build_id, + inverse_of: :build, + autosave: true accepts_nested_attributes_for :metadata |