- `Rails.root` is a `Pathname`, so let's use `Rails.root.join` - Clean up most of the remaining `File.join`s
1 line
No EOL
90 B
Ruby
1 line
No EOL
90 B
Ruby
Dir[Rails.root.join('app', 'models', 'jobs', 'mail', '*.rb')].each { |file| require file } |