Skip to content

Instantly share code, notes, and snippets.

@rschenk
Created November 13, 2012 20:06
Show Gist options
  • 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