Skip to content

Instantly share code, notes, and snippets.

@rschenk
Created November 13, 2012 20:06
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 rschenk/4068050 to your computer and use it in GitHub Desktop.
Save rschenk/4068050 to your computer and use it in GitHub Desktop.
Dir[Rails.root.join('app', 'models', 'mixins', '*.rb')].each do |filename|
require filename
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment