Bugs: Browse | Submit New | Admin
I'm not even using Oracle here, I'm using MySQL. But I have Ruby/OCI8 installed. When I rip out Ruby/OCI8, this problem goes away. test_sha1(UserTest): ArgumentError: wrong number of arguments (1 for 0) /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/oracle_adapter.rb:53:in `attributes_with_quotes_pre_oracle' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/oracle_adapter.rb:53:in `attributes_with_quotes' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:2031:in `quoted_column_names' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1735:in `create_without_callbacks' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:261:in `create_without_timestamps' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/timestamp.rb:30:in `create' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1712:in `create_or_update_without_callbacks' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:249:in `create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1388:in `save_without_validation' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/validations.rb:724:in `save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/abstract/database_statem ents.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:91:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:118:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:126:in `save' ./test/unit/user_test.rb:136:in `test_sha1'
Add A Comment:
Date: 2006-04-05 14:37 Sender: Barthelemy von Haller hummm sorry for my stupid question, but how do we use a patch on windows xp ? thanks in advance Barth
Date: 2006-03-30 00:31 Sender: Daniel Berger http://dev.rubyonrails.org/ticket/4457
Date: 2006-03-29 20:47 Sender: Nobody Daniel - I searched the Rails mailing list for hours without finding any reference to this problem. Can you point me to the posting and/or the changeset with the fix?
Date: 2006-03-29 20:34 Sender: Daniel Berger Uh, this is a bug in oracle adapter in Rails/ActiveRecord, not in OCI8 itself. A fix has already been posted to the Rails mailing list and to their svn repo. - Dan
Date: 2006-03-29 20:06 Sender: Nobody I am also having this problem on Fedora 4. I receive the exact same dump when trying to save a model.
Date: 2006-03-29 04:45 Sender: Lori Olson I should mention this occurs on Mac OS X, using Oracle InstantClient.