SyntaxFix
Write A Post
Hire A Developer
Questions
Dir[File.join(__dir__, "/app/**/*.rb")].each do |file| require file end
This will work recursively on your local machine and a remote (Like Heroku) which does not use relative paths.