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

created past mileage data for test data #5258

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

meamalpb
Copy link

@meamalpb meamalpb commented Oct 6, 2023

What github issue is this PR for, if any?

Resolves #5244

What changed, and why?

The seed data for mileage rates had their effective dates in the future, with this fix they will be in the past

How will this affect user permissions?

  • Volunteer permissions: Not effected
  • Supervisor permissions: Not effected
  • Admin permissions: Not effected

How is this tested? (please write tests!) 💖💪

You can try this command in the dev or testing environment rails console after running db:seed and check whether the dates are in the past
MileageRate.pluck(:effective_date)

Screenshots please :)

Before change
image

After change
image

@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Oct 6, 2023
@FireLemons FireLemons merged commit 83efdc5 into rubyforgood:main Oct 7, 2023
11 checks passed
@FireLemons
Copy link
Collaborator

🏅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Past Mileage Rates for Test Data
2 participants