Skip to content

Instantly share code, notes, and snippets.

@tahb
Last active August 29, 2015 14:00
Show Gist options
  • Save tahb/2122e31da267d9b073b1 to your computer and use it in GitHub Desktop.
Save tahb/2122e31da267d9b073b1 to your computer and use it in GitHub Desktop.
in config/application.rb
Dir.glob( Rails.root.join("lib", "ext", "*.rb") ).each { |f| require f }
or
config.autoload_paths << Rails.root.join('lib')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment