Skip to content

Instantly share code, notes, and snippets.

@parndt
Created May 3, 2010 03:44
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 parndt/387725 to your computer and use it in GitHub Desktop.
Save parndt/387725 to your computer and use it in GitHub Desktop.
# place in config/environments/development.rb
config.after_initialize do
::ActiveSupport::Dependencies.load_once_paths = ::ActiveSupport::Dependencies.load_once_paths.select do |path|
(path =~ /app/).nil?
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment