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

Volunteer CSV university_location_id #391

Open
bransynluther opened this issue Oct 31, 2019 · 1 comment
Open

Volunteer CSV university_location_id #391

bransynluther opened this issue Oct 31, 2019 · 1 comment

Comments

@bransynluther
Copy link
Collaborator

@bransynluther bransynluther commented Oct 31, 2019

Add a lookup for Volunteer on row[9] and make that csv column be Location name, using where(name: row[9], location_type: "university").first_or_create!(...) to get or create Location. Add a find_by like you did for Volunteer in your User create.

@maebeale

This comment has been minimized.

Copy link
Collaborator

@maebeale maebeale commented Feb 12, 2020

@bransynluther hey there! we're doing a hack night tomorrow eve for this (https://www.meetup.com/Code-for-Good-DC/events/268436980/), so we're going through all issues to check in with folks. you around to get back in to voices of consent mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.