Missing callback : How to implement it


I’m running some old code, 6 months old approximately, and I’m running
into a problem :

`invoke’: TODO: (sort_func) callback is not
supported yet. (NotImplementedError)

I’m wondering : Is there a documentation on how to implement it ?

Here is the snippet :

$builder[‘users_treemodelsort’].set_default_sort_func do |i1, i2|
i1[1] <=> i2[1] || 0


I found after posting :

I will try on 3.0.8. Hope it gets released soon.

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