rails require multiple files code example
Example: require multiple files ruby
Dir[File.join(__dir__, "/app/**/*.rb")].each do |file|
require file
end
Dir[File.join(__dir__, "/app/**/*.rb")].each do |file|
require file
end