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

making the rake task for matching up identities to prof orgs part of … #126

Merged
merged 3 commits into from Mar 2, 2017

Conversation

Stuart-Johnson
Copy link
Collaborator

…the migration that removes the old info [#140788031]

identity_8045 = Identity.find(8045)
identity_8045.assign_attributes({ professional_organization_id: 4, audit_comment: "BY SCRIPT" }, without_protection: true)
identity_8045.save
if identity_8045 = Identity.find_by(id: 8045)
Copy link

Choose a reason for hiding this comment

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

Woo!

@Stuart-Johnson Stuart-Johnson merged commit cb19fa0 into master Mar 2, 2017
@Stuart-Johnson Stuart-Johnson deleted the sj-modify_identity_org_migration branch March 2, 2017 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants