BigW Consortium Gitlab
In Rails 5 enum returns value instead of key. For this case, the `NilClass` is returned instead of `unknown` which breaks validation of the `source` attribute. This commit adds a custom validatior that returns the correct result for both rails4 and rails5.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
artifact_blob.rb | Loading commit data... | |
build.rb | Loading commit data... | |
build_metadata.rb | Loading commit data... | |
build_trace_chunk.rb | Loading commit data... | |
build_trace_section.rb | Loading commit data... | |
build_trace_section_name.rb | Loading commit data... | |
group.rb | Loading commit data... | |
group_variable.rb | Loading commit data... | |
job_artifact.rb | Loading commit data... | |
legacy_stage.rb | Loading commit data... | |
pipeline.rb | Loading commit data... | |
pipeline_schedule.rb | Loading commit data... | |
pipeline_schedule_variable.rb | Loading commit data... | |
pipeline_variable.rb | Loading commit data... | |
runner.rb | Loading commit data... | |
runner_namespace.rb | Loading commit data... | |
runner_project.rb | Loading commit data... | |
stage.rb | Loading commit data... | |
trigger.rb | Loading commit data... | |
trigger_request.rb | Loading commit data... | |
variable.rb | Loading commit data... |