You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A value identifying the origin app will be passed from the frontend as part of the school payload, if this value is present and matches ExCS then the value should be stored against the school record.
Steps
Create a migration adding an enum to the schools table
should default to code editor for education
should allow an identifier for experience cs
Add a field to the .permit list in the school controller
Update the /lib/concepts/school/operations create and update endpoints
Ensure value is returned in the views /app/views/schools/
Expected tests...
Against the model: models/school_spec.rb
Ensuring the field is returned by the api: features/school/showing_a_school_spec.rb
Ensuring the field is updated by the api: features/school/creating_a_school_spec.rb
Ensuring the field is created by the api: features/school/creating_a_school_spec.rb
Any others that may be relevant...
The text was updated successfully, but these errors were encountered:
## Status
- Closes#543
## Points for consideration:
- Security
- Performance
## What's changed?
- Adds `user_origin` enum to capture user origin
- Adds a school template to make views more DRY
## Steps to perform after deploying to production
N/A
Uh oh!
There was an error while loading. Please reload this page.
Approach
A value identifying the origin app will be passed from the frontend as part of the school payload, if this value is present and matches ExCS then the value should be stored against the school record.
Steps
schools
table/lib/concepts/school/operations
create and update endpoints/app/views/schools/
Expected tests...
models/school_spec.rb
features/school/showing_a_school_spec.rb
features/school/creating_a_school_spec.rb
features/school/creating_a_school_spec.rb
The text was updated successfully, but these errors were encountered: