meyerhoferc / secret-santa

0 stars 0 forks source link

Username #21

Closed kmeyerhofer closed 5 years ago

kmeyerhofer commented 5 years ago

Branch username

Changes:

Error messages

Correct error messages, utilizing ActiveRecordObj.errors.full_messages.to_sentence within the flash message.

Users

Querying functionality for invitable_groups has been moved from the controller down to the model

Invitations

Model: Verifies uniqueness of receiver scoped to groups only for pending and accepted invitations. This enables a group owner to invite a user again, only if they've declined the invitation.

DB

Adjusts seeds file. Adds username column to users table

robots.txt

Disallows all robots

Tests

Adds tests for new username features.

Branch requirements

This branch is dependent on the joining-groups branch. ( PR #14 )

meyerhoferc commented 5 years ago

Please pull the updated master into this branch so the diff is more readable

kmeyerhofer commented 5 years ago

Updates merged from master.

kmeyerhofer commented 5 years ago

Most changes made. One issue created ( #24 ). Thank you for reviewing this PR @meyerhoferc