rails/init.rb in thumbs_up-0.3.2 vs rails/init.rb in thumbs_up-0.4
- old
+ new
@@ -1,10 +1,10 @@
RAILS_DEFAULT_LOGGER.info "** thumbs_up: setting up load paths **"
%w{ models controllers helpers }.each do |dir|
path = File.join(File.dirname(__FILE__) , 'lib', dir)
$LOAD_PATH << path
- ActiveSupport::Dependencies.load_paths << path
- ActiveSupport::Dependencies.load_once_paths.delete(path)
+ ActiveSupport::Dependencies.autoload_paths << path
+ ActiveSupport::Dependencies.autoload_once_paths.delete(path)
end
-require 'thumbs_up'
\ No newline at end of file
+require 'thumbs_up'