Skip to content

Instantly share code, notes, and snippets.

@iwasrobbed
Created March 7, 2011 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iwasrobbed/858637 to your computer and use it in GitHub Desktop.
Save iwasrobbed/858637 to your computer and use it in GitHub Desktop.
#config/initializers/requires.rb
Dir[File.join(Rails.root, 'lib', '*.rb')].each do |f|
require f
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment