project-anacapa / course-github-org-tool

PLEASE USE: https://github.com/project-anacapa/github-roster-tool instead!
https://github.com/project-anacapa/github-roster-tool
MIT License
1 stars 4 forks source link

Factor out configuration validation to happen on application start #48

Open jaeaster opened 6 years ago

jaeaster commented 6 years ago

Configuration shouldn't be checked in the request cycle. It should happen once when the application starts, probably in an initializer file.

See app/controllers/sessions_controller.rb line 4 for an example.