Created
May 13, 2009 14:42
-
-
Save wallace/111060 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 has_many :events, :dependent => :destroy | |
46 has_many :event_occurrences, :dependent => :destroy | |
47 has_many :file_resources, :class_name => "Resource", :conditions => "is_temporary = 'f' and type not in ('ResourceCourse','ResourceLogo','ResourceUserPicture','ResourceCours ePicture','ResourceCertificate')", :dependent => :destroy | |
48 has_many :forums, :dependent => :destroy | |
49 has_many :forum_posts, :dependent => :destroy | |
# error | |
/Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activerecord/lib/active_record/associations.rb:1379:in `sanitize_sql': wrong number of arguments (2 for 1) (ArgumentError) | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activerecord/lib/active_record/associations.rb:1379:in `configure_dependency_for_has_many' | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activerecord/lib/active_record/associations.rb:795:in `has_many' | |
from (eval):3:in `has_many' | |
from /Users/jonathanwallace/Documents/projects/rollbook/app/models/account.rb:47 | |
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load' | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on' | |
from /Users/jonathanwallace/Documents/projects/rollbook/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:414:in `load_application_classes' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:413:in `each' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:413:in `load_application_classes' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:411:in `each' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:411:in `load_application_classes' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:197:in `process' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' | |
from /Users/jonathanwallace/Documents/projects/rollbook/config/environment.rb:28 | |
from ./test/unit/../test_helper.rb:2:in `require' | |
from ./test/unit/../test_helper.rb:2 | |
from ./test/unit/account_test.rb:1:in `require' | |
from ./test/unit/account_test.rb:1 | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb:5:in `load' | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb:5 | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb:5:in `each' | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb:5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment