Displaying 1 result from an estimated 1 matches for "ability_test".
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
...nd''
from
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/application.rb:77:in
`method_missing''
from /Users/nikosd/Work/.../.../.../config/environment.rb:5
from ./test/test_helper.rb:2:in `require''
from ./test/test_helper.rb:2
from ./test/unit/ability_test.rb:1:in `require''
from ./test/unit/ability_test.rb:1
(...)
Errors running test:units, test:functionals!
Empty test suite.
Process finished with exit code 1
The originating code is the following :
class Foo < ActiveRecord::Base
has_one :case, :dependent => :destroy
end
any idea...