Guest User

Untitled

a guest
Oct 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. require 'active_support/dependencies'
  2.  
  3. %w(app/business app/enumerations app/models app/validators).each do |path|
  4. ActiveSupport::Dependencies.autoload_paths.push(path) unless ActiveSupport::Dependencies.autoload_paths.include?(path)
  5. end
Add Comment
Please, Sign In to add comment