Permalink
Browse files

Dependencies went to ActiveSupport::Dependencies in Rails 2.2

  • Loading branch information...
1 parent 5ca7f07 commit b0167e7b6a754c6f199495802183386865d3e78a @maddox maddox committed Dec 2, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 rails/init.rb
View
@@ -6,8 +6,8 @@
%w{ models controllers helpers }.each do |dir|
path = File.join(File.dirname(__FILE__) , 'lib', dir)
$LOAD_PATH << path
- Dependencies.load_paths << path
- Dependencies.load_once_paths.delete(path)
+ ActiveSupport::Dependencies.load_paths << path
+ ActiveSupport::Dependencies.load_once_paths.delete(path)
end
ActiveRecord::Base.send(:include, Juixe::Acts::Voteable)

0 comments on commit b0167e7

Please sign in to comment.