Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quby-compiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
RoQua
quby-compiler
Commits
dd06274d
Commit
dd06274d
authored
3 years ago
by
Jorn van de Beek
Browse files
Options
Downloads
Patches
Plain Diff
Reinstate deleted validation
parent
3f2199bf
No related branches found
No related tags found
1 merge request
!20
Serialize outcome tables from dsl calls into roqua.json
Pipeline
#92298
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/quby/compiler/entities/outcome_table.rb
+1
-0
1 addition, 0 deletions
lib/quby/compiler/entities/outcome_table.rb
with
1 addition
and
0 deletions
lib/quby/compiler/entities/outcome_table.rb
+
1
−
0
View file @
dd06274d
...
...
@@ -12,6 +12,7 @@ module Quby
include
ActiveModel
::
Model
attr_accessor
:score_keys
,
:subscore_keys
,
:name
,
:default_collapsed
,
:questionnaire
,
:key
validates
:score_keys
,
:subscore_keys
,
:questionnaire
,
:key
,
presence:
true
validates
:name
,
presence:
true
,
if:
proc
{
|
table
|
table
.
default_collapsed
}
validate
:references_existing_score_keys
validate
:no_outcome_tables_defined_in_score_schemas
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment