search for: configure_dependency_for_has_on

Displaying 1 result from an estimated 1 matches for "configure_dependency_for_has_on".

2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
...$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activerecord-3.0.5/lib/active_record/associations.rb:1673:in `configure_dependency_for_has_one'': compile error (SyntaxError) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activerecord-3.0.5/lib/active_record/associations.rb:1672: syntax error, unexpected kIF_MOD, expecting kWHEN association.destroy if association ^...