Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend seed data #1317

Merged
merged 6 commits into from
Jan 17, 2025
Merged

Extend seed data #1317

merged 6 commits into from
Jan 17, 2025

Conversation

JamieCleare2525
Copy link
Contributor

Context

  • Add submitted and paid claims to seed data

Changes proposed in this pull request

  • Add code and methods to create submitted and paid claims for each school ( and provider ) within the seed data.

Guidance to review

  • run bundle exec rake db:drop db:create db:setup
  • This should result in creating both submitted and paid claims.

Link to Trello card

https://trello.com/c/Tlf4e2qH/365-add-seeds-to-populate-claims-in-staging-and-local-environments

Screenshots

screencapture-claims-localhost-3000-support-claims-2025-01-17-11_56_38

@JamieCleare2525 JamieCleare2525 added the deploy A Review App will be created for PRs with this label label Jan 17, 2025
@JamieCleare2525 JamieCleare2525 self-assigned this Jan 17, 2025
@JamieCleare2525 JamieCleare2525 requested review from a team as code owners January 17, 2025 11:56
Copy link

github-actions bot commented Jan 17, 2025

Review app track and pay deployed to https://track-and-pay-1317.test.teacherservices.cloud was deleted
Review app school placements deployed to https://manage-school-placements-1317.test.teacherservices.cloud was deleted

db/seeds.rb Outdated Show resolved Hide resolved
db/seeds.rb Outdated Show resolved Hide resolved
end

def assign_mentors(claim:, school:)
school.mentors.each do |mentor|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to assign all the mentors the school has to a claim here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's what we've done prior to this.

@JamieCleare2525 JamieCleare2525 merged commit f06594b into main Jan 17, 2025
8 checks passed
@JamieCleare2525 JamieCleare2525 deleted the dpd/extend_seed_data branch January 17, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy A Review App will be created for PRs with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants