Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mark-ellul
Created March 28, 2012 16:02
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 mark-ellul/2227740 to your computer and use it in GitHub Desktop.
Save mark-ellul/2227740 to your computer and use it in GitHub Desktop.
Load all models
Dir[File.join("app", "models", "**/*.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