Better_nested_set e Rails 2.x

13 Set 2008
Categoria: Ruby on Rails

Da un paio di giorni avevo questo maledetto errore quando andavo a fare un update di un modello:

ArgumentError (wrong number of arguments (2 for 1)):

e non ne capivo il motivo.


Dopo qualche indagine ho scoperto che si trattava di una qualche incompatibilità tra better_nested_set e rails 2.x.
Ho trovato prima una semplice patch e poi un nuovo plugin creato sulla base dell’ottimo better_nested_set.

Si tratta di Awesome_nested_set e questo è il link:

http://github.com/collectiveidea/awesome_nested_set/tree/master

Ora funziona tutto alla perfezione!

Ciao
Filippo

Tag: , , ,

Lascia un Commento

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word