[Betternestedset-talk] regression with rails-1.99.0
Joël AZEMAR
jlstar at free.fr
Tue Nov 20 16:47:03 EST 2007
hello, the same code work well with rails-1.2.5 but crash with
rails-1.99.0. If you update an object you have this error message:
ArgumentError (wrong number of arguments (2 for 1)):
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
base.rb:2029:in `attributes_with_quotes'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
base.rb:2029:in `update_without_lock'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
locking/optimistic.rb:70:in `update_without_callbacks'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
callbacks.rb:240:in `update_without_timestamps'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
timestamp.rb:38:in `update'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
base.rb:2022:in `create_or_update_without_callbacks'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
callbacks.rb:213:in `create_or_update'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
base.rb:1774:in `save_without_validation'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
validations.rb:891:in `save_without_transactions'
/Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/
transactions.rb:118:in `save'
I have created a fresh and clean project for test.
best reagrds
More information about the Betternestedset-talk
mailing list