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

Rename songs() method on User model to be more intuitive #177

Open
cbj4074 opened this issue Jun 23, 2020 · 0 comments
Open

Rename songs() method on User model to be more intuitive #177

cbj4074 opened this issue Jun 23, 2020 · 0 comments
Assignees
Labels

Comments

@cbj4074
Copy link
Member

cbj4074 commented Jun 23, 2020

One could easily assume that this method returns the songs that are associated with a given artist, but that would be untrue.

This method returns the songs that a given user has purchased, so it should be named something more appropriate, like purchasedSongs().

@cbj4074 cbj4074 added the todo label Jun 23, 2020
@cbj4074 cbj4074 self-assigned this Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant