| Message: 63650 |
 |
BY: J. Scott Walton (swalton) DATE: 2009-01-06 00:44 SUBJECT: test and rake issues with DB2 (Win) and rails Running DB2 V9 and Rails 2.2.2, I'm unable to do any testing. I know about the rake issues with schema dumper but have been manually creating the tables (I'm a long time DB2 DBA).
When I attempt a unit test, (just running the unit test from command line Ruby) during the setup, I get:
1) Error:
test_the_truth(PathTest):
ActiveRecord::StatementInvalid: ActiveRecord::StatementInvalid: [IBM][CLI Driver
SQLCODE=-204: DELETE FROM pathsS" is an undefined name. SQLSTATE=42704
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connecti
on_adapters/abstract_adapter.rb:188:in `log'
The correct table name is "paths" (without the extra S). I also see other extra characters in the table name causing similar -204 SQLCODES.
Can anyone suggest what I'm doing wrong (setup, configuration, what?)?
| |