ArgumentError: wrong number of arguments (3 for 2) with Better Nested Set Plugin

Ruby on Rails Add comments

If you’re using the Better Nested Set plugin in your 2.1 Rails app and get an error such as

ArgumentError: wrong number of arguments (3 for 2)
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2479:in `attributes_with_quotes’

upon saving your model or upon calling update_attributes, you have two options:

Happy nesting!

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in