Answers for "how to require all .rb files in rails"

0

how to require all .rb files in rails

Dir["/path/to/directory/*.rb"].each {|file| require file }
Posted by: Guest on June-01-2021

Code answers related to "how to require all .rb files in rails"

Browse Popular Code Answers by Language