hi,<div><br class="webkit-block-placeholder"></div><div> Open /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>base.rb, line 2029, and change "attributes_with_quotes(false, false)" by</div><div>
"attributes_with_quotes(false)".<br><br><div><span class="gmail_quote">2007/11/20, Joël AZEMAR <<a href="mailto:jlstar@free.fr">jlstar@free.fr</a>>:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
hello, the same code work well with rails-1.2.5 but crash with<br>rails-1.99.0. If you update an object you have this error message:<br><br>ArgumentError (wrong number of arguments (2 for 1)):<br> /Library/Ruby/Gems/1.8/gems/activerecord-
1.99.0/lib/active_record/<br>base.rb:2029:in `attributes_with_quotes'<br> /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>base.rb:2029:in `update_without_lock'<br> /Library/Ruby/Gems/1.8/gems/activerecord-
1.99.0/lib/active_record/<br>locking/optimistic.rb:70:in `update_without_callbacks'<br> /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>callbacks.rb:240:in `update_without_timestamps'<br> /Library/Ruby/Gems/1.8/gems/activerecord-
1.99.0/lib/active_record/<br>timestamp.rb:38:in `update'<br> /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>base.rb:2022:in `create_or_update_without_callbacks'<br> /Library/Ruby/Gems/1.8/gems/activerecord-
1.99.0/lib/active_record/<br>callbacks.rb:213:in `create_or_update'<br> /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>base.rb:1774:in `save_without_validation'<br> /Library/Ruby/Gems/1.8/gems/activerecord-
1.99.0/lib/active_record/<br>validations.rb:891:in `save_without_transactions'<br> /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/<br>transactions.rb:118:in `save'<br><br><br>I have created a fresh and clean project for test.
<br><br>best reagrds<br>_______________________________________________<br>Betternestedset-talk mailing list<br><a href="mailto:Betternestedset-talk@rubyforge.org">Betternestedset-talk@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/betternestedset-talk">
http://rubyforge.org/mailman/listinfo/betternestedset-talk</a><br></blockquote></div><br><br clear="all"><br>-- <br> Pieters<br> Aimeric<br> EPITA 2009
</div>