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

Update indexes on template #724

Merged
merged 2 commits into from
Sep 1, 2016
Merged

Update indexes on template #724

merged 2 commits into from
Sep 1, 2016

Conversation

dijonkitchen
Copy link
Contributor

Why:
Keep data consistent with multiple processes, match devise gem implementation, and latest ruby hash syntax convention.

References:
https://robots.thoughtbot.com/the-perils-of-uniqueness-validations
https://github.com/plataformatec/devise/blob/master/lib/generators/active_record/templates/migration.rb#L13

@booleanbetrayal
Copy link
Collaborator

Sounds good if it's consistent with devise itself. Thanks @dijonkitchen

@booleanbetrayal booleanbetrayal merged commit 536911c into lynndylanhurley:master Sep 1, 2016
@dijonkitchen dijonkitchen deleted the indexes branch September 1, 2016 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
Development

Successfully merging this pull request may close these issues.

2 participants