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

Controller piece should be API #12

Open
payne-chris-r opened this issue Jun 21, 2016 · 0 comments
Open

Controller piece should be API #12

payne-chris-r opened this issue Jun 21, 2016 · 0 comments

Comments

@payne-chris-r
Copy link
Contributor

Hey @MattB-GA-Boston, can you explain what you meant in the table:
Location: Controller
Pro: Within the app, so it can't be circumvented. In Ruby, so it's independent of our DB choice.
Con: Difficult to test and maintain. Controllers should be sparse!

@jrhorn424 suggested this might be better as "API" because it should probably be in the Model, not the Controller, but more insight would be helpful.

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

No branches or pull requests

1 participant