Problem with AR after update 2.0.2 -> 2.1.0

After updating from 2.0.2 to 2.1 I got this error when update data in
model

“wrong number of arguments (3 for 2)”
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:
2479:in attributes_with_quotes' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb: 2479:inupdate_without_lock’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/locking/
optimistic.rb:70:in update_without_dirty' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb: 137:inupdate_without_callbacks’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
callbacks.rb:234:in update_without_timestamps' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ timestamp.rb:38:inupdate’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:
2472:in create_or_update_without_callbacks' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ callbacks.rb:207:increate_or_update’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:
2200:in save_without_validation' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ validations.rb:901:insave_without_dirty’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb:
75:in save_without_transactions' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ transactions.rb:106:insave’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/abstract/database_statements.rb:66:in
transaction' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ transactions.rb:79:intransaction’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
transactions.rb:98:in transaction' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ transactions.rb:106:insave’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
transactions.rb:118:in rollback_active_record_state!' /var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ transactions.rb:106:insave’
/var/lib/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:
2262:in update_attributes' app/controllers/sections_controller.rb:42:increate’

Any suggestion ?

solved
the problem was with bug in betternestedset plugin which was overdated
in my project
current version of this plugin is working fine

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs