Skip to content

Commit

Permalink
Fixed that Rails autoloader expects acts_as_list to define List (clos…
Browse files Browse the repository at this point in the history
…es #9519) [manfred]
  • Loading branch information
dhh committed Sep 10, 2007
1 parent e1ed2aa commit ea1c902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
require 'list'

ActiveRecord::Base.send :include, ActiveRecord::Acts::List
2 changes: 2 additions & 0 deletions test/list_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$:.unshift File.dirname(__FILE__) + '/../lib'

require 'test/unit'

require 'rubygems'
Expand Down

0 comments on commit ea1c902

Please sign in to comment.